1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

Remove grep step

This commit is contained in:
Blondel MONDESIR 2024-12-16 07:25:06 -05:00 committed by GitHub
parent 58c5e8e71f
commit 7f37ccd8db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,12 +63,8 @@
echo -e "\e[4mOlder version 'xklb' detected. Now running: pipx uninstall xklb\e[0m"
pipx uninstall xklb
fi
if pipx list | grep -q 'library'; then
echo -e "\e[4mNow running: pipx uninstall library # THIS ALSO UNINSTALLS yt-dlp\e[0m\n"
pipx uninstall library
else
echo -e "\e[4m'library' not found. Skipping uninstall.\e[0m\n"
fi
echo -e "\e[4mNow running: pipx uninstall library # THIS ALSO UNINSTALLS yt-dlp\e[0m\n"
pipx uninstall library || true
echo -e "\n\e[4mNow running: pipx install library # THIS ALSO INSTALLS yt-dlp\e[0m\n"
pipx install library
echo -e "\n\e[4mNow running: yt-dlp --version\e[0m\n"