summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-04-30 10:34:58 +0200
committerPhilipp Hagemeister <[email protected]>2014-04-30 10:34:58 +0200
commit0b33704b432fc6a0da56a0b38831a8533e96aba5 (patch)
treeb38a95b3223c730a50d76d1c0c59b6cbfaa7c800
parent17e311adf0e53fe486c1449c3ea5342a9f2560b2 (diff)
downloadyoutube-dl-0b33704b432fc6a0da56a0b38831a8533e96aba5.tar.gz
youtube-dl-0b33704b432fc6a0da56a0b38831a8533e96aba5.zip
Re-add +Indexes
-rw-r--r--.htaccess4
-rwxr-xr-xupdate_latest.sh3
2 files changed, 5 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 0209de9b1..1d524d1c2 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,5 +1,7 @@
+Options +Indexes
+
RewriteEngine On
RewriteRule ^ip/?$ ip.php
RewriteRule ^bugs?/? https://github.com/rg3/youtube-dl/issues [R=302,L]
-RewriteRule ^reporting/? https://github.com/rg3/youtube-dl/blob/master/README.md#bugs [R=302,L,NE]
+RewriteRule ^reporting/? https://github.com/rg3/youtube-dl/blob/master/README.md#bugs [R=302,L,NE] \ No newline at end of file
diff --git a/update_latest.sh b/update_latest.sh
index a39c90144..45122a68d 100755
--- a/update_latest.sh
+++ b/update_latest.sh
@@ -14,6 +14,7 @@ ln -sf --no-target-directory ../downloads/$version latest/directory
for f in $(ls "downloads/$version/"); do \
ln -sf --no-target-directory "../downloads/$version/$f" latest/$(echo $f | sed -e "s@-$version@@")
done
-ln -sf --no-target-directory "downloads/$version" "downloads/latest"
+
+ln -sf --no-target-directory "$version" "downloads/latest"
echo -n "$version" > latest/version