mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 16:57:40 +00:00
Add latest symlink in downloads (Fixes #2835)
This commit is contained in:
parent
809987a65c
commit
17e311adf0
1 changed files with 1 additions and 0 deletions
|
@ -14,5 +14,6 @@ ln -sf --no-target-directory ../downloads/$version latest/directory
|
||||||
for f in $(ls "downloads/$version/"); do \
|
for f in $(ls "downloads/$version/"); do \
|
||||||
ln -sf --no-target-directory "../downloads/$version/$f" latest/$(echo $f | sed -e "s@-$version@@")
|
ln -sf --no-target-directory "../downloads/$version/$f" latest/$(echo $f | sed -e "s@-$version@@")
|
||||||
done
|
done
|
||||||
|
ln -sf --no-target-directory "downloads/$version" "downloads/latest"
|
||||||
echo -n "$version" > latest/version
|
echo -n "$version" > latest/version
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue