Browse Source

Add latest symlink in downloads (Fixes #2835)

download-server-ytdl-org
Philipp Hagemeister 11 years ago
parent
commit
17e311adf0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      update_latest.sh

+ 1
- 0
update_latest.sh 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

Loading…
Cancel
Save