1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

Add latest symlink in downloads (Fixes #2835)

This commit is contained in:
Philipp Hagemeister 2014-04-30 10:21:09 +02:00
parent 809987a65c
commit 17e311adf0

View file

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