1
0
Fork 0
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:
Blondel MONDESIR 2024-12-15 21:00:30 -05:00 committed by GitHub
parent 0bf49da18b
commit ad57789c65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"