1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update install.yml to check if older xklb is present

This commit is contained in:
Blondel MONDESIR 2024-12-15 21:42:07 -05:00 committed by GitHub
parent 577a8f171f
commit 59470cd134
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,12 @@
if [ -f {{ calibreweb_venv_path }}/scripts/lb-wrapper ]; then
apt install ffmpeg pipx -y
if lb --version; then
if pipx list | grep -q 'xklb'; then
pipx uninstall xklb
pipx install library
else
pipx reinstall library
fi
else
pipx install library
ln -sf /root/.local/bin/lb /usr/local/bin/lb