mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
Strengthen yt-dlp upgrading + document "nightly" version
This commit is contained in:
parent
b1b42e958a
commit
49f59830c8
1 changed files with 3 additions and 1 deletions
|
@ -70,7 +70,7 @@
|
|||
if [ -f {{ calibreweb_venv_path }}/scripts/lb-wrapper ]; then
|
||||
apt install ffmpeg pipx -y
|
||||
if lb --version; then
|
||||
pipx upgrade --include-injected xklb
|
||||
pipx reinstall xklb
|
||||
else
|
||||
pipx install xklb
|
||||
ln -sf /root/.local/bin/lb /usr/local/bin/lb
|
||||
|
@ -82,6 +82,8 @@
|
|||
echo "ERROR: yt-dlp NOT FOUND"
|
||||
fi
|
||||
fi
|
||||
# IF YOU WANT THE "nightly" RELEASE OF yt-dlp, UNCOMMENT THE NEXT LINE:
|
||||
# pipx inject --pip-args="--upgrade --pre" -f xklb yt-dlp[default]
|
||||
cp {{ calibreweb_venv_path }}/scripts/lb-wrapper /usr/local/bin/
|
||||
chmod a+x /usr/local/bin/lb-wrapper
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue