1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-25 01:01:39 +00:00

Add a redirect for downloads/latest

This commit is contained in:
Philipp Hagemeister 2014-04-30 10:39:23 +02:00
parent 0b33704b43
commit 54a1852f08

View file

@ -16,5 +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
echo -n "$version" > latest/version