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:
parent
577a8f171f
commit
59470cd134
1 changed files with 6 additions and 1 deletions
|
@ -99,7 +99,12 @@
|
||||||
if [ -f {{ calibreweb_venv_path }}/scripts/lb-wrapper ]; then
|
if [ -f {{ calibreweb_venv_path }}/scripts/lb-wrapper ]; then
|
||||||
apt install ffmpeg pipx -y
|
apt install ffmpeg pipx -y
|
||||||
if lb --version; then
|
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
|
else
|
||||||
pipx install library
|
pipx install library
|
||||||
ln -sf /root/.local/bin/lb /usr/local/bin/lb
|
ln -sf /root/.local/bin/lb /usr/local/bin/lb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue