mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-22 20:20:09 +09:00
Add a redirect for downloads/latest
This commit is contained in:
parent
0b33704b43
commit
54a1852f08
@ -16,5 +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
|
||||||
|
|
||||||
echo -n "$version" > latest/version
|
echo -n "$version" > latest/version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user