Skip to content

Commit

Permalink
Update install.yml to check if older xklb is present
Browse files Browse the repository at this point in the history
  • Loading branch information
deldesir authored Dec 16, 2024
1 parent 577a8f1 commit 59470cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion roles/calibre-web/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@
if [ -f {{ calibreweb_venv_path }}/scripts/lb-wrapper ]; then
apt install ffmpeg pipx -y
if lb --version; then
pipx reinstall library
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
Expand Down

0 comments on commit 59470cd

Please sign in to comment.