Write downloads .htaccess, not main one

pull/14909/head
Philipp Hagemeister 11 years ago
parent 54a1852f08
commit 644f92f6a5

@ -16,7 +16,7 @@ for f in $(ls "downloads/$version/"); do \
done done
ln -sf --no-target-directory "$version" "downloads/latest" 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 echo -n "$version" > latest/version

Loading…
Cancel
Save