mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Check if older version of 'library' (xklb) is installed
This commit is contained in:
parent
0bf49da18b
commit
ad57789c65
1 changed files with 5 additions and 0 deletions
|
@ -58,6 +58,11 @@
|
|||
|
||||
if grep -q 'calibreweb_installed: True' /etc/iiab/iiab_state.yml; then
|
||||
if [[ $1 == "-f" || $1 == "--fast" ]]; then
|
||||
echo -e "\e[4mChecking if an older version of 'library' (formerly 'xklb') exists...\e[0m"
|
||||
if pipx list | grep -q 'xklb'; then
|
||||
echo -e "\e[4mOlder version 'xklb' detected. Now running: pipx uninstall xklb\e[0m"
|
||||
pipx uninstall xklb
|
||||
fi
|
||||
echo -e "\e[4mNow running: pipx uninstall library # THIS ALSO UNINSTALLS yt-dlp\e[0m\n"
|
||||
pipx uninstall library
|
||||
echo -e "\n\e[4mNow running: pipx install library # THIS ALSO INSTALLS yt-dlp\e[0m\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue