summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-04-30 10:40:14 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-04-30 10:40:14 +0200
commit644f92f6a5ad4590d9c0b108393362d91cb86747 (patch)
treecf37dfc6b70cbe80636ba1980099f091e08b5ad3
parent54a1852f0802347277a0f7eb0613591da0660479 (diff)
downloadyoutube-dl-644f92f6a5ad4590d9c0b108393362d91cb86747.tar.gz
youtube-dl-644f92f6a5ad4590d9c0b108393362d91cb86747.tar.xz
youtube-dl-644f92f6a5ad4590d9c0b108393362d91cb86747.zip
Write downloads .htaccess, not main one
-rwxr-xr-xupdate_latest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_latest.sh b/update_latest.sh
index 834f8f814..fd12fbcdc 100755
--- a/update_latest.sh
+++ b/update_latest.sh
@@ -16,7 +16,7 @@ for f in $(ls "downloads/$version/"); do \
 done
 
 ln -sf --no-target-directory "$version" "downloads/latest"
-/bin/echo -e "RewriteEngine On\nRewriteRule latest(.*) /downloads/${version}\$1 [L,R=302]" > .htaccess
+/bin/echo -e "RewriteEngine On\nRewriteRule latest(.*) /downloads/${version}\$1 [L,R=302]" > downloads/.htaccess
 
 echo -n "$version" > latest/version