Update swappy.sh

This commit is contained in:
Ja.KooLit 2024-06-05 15:00:02 +09:00 committed by GitHub
parent b838c320a8
commit b0c0902e04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,9 +34,9 @@ done
# Force reinstall above as seems its giving issue as swappy cant be build
for PKG1 in "${swappy[@]}"; do
sudo apt --reinstall install "$PKG1" 2>&1 | tee -a "$LOG"
sudo apt-get --reinstall install "$PKG1" 2>&1 | tee -a "$LOG"
if [ $? -ne 0 ]; then
echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs"
echo -e "\e[1A\e[K${ERROR} - $PKG1 Package re-installation failed, Please check the installation logs"
exit 1
fi
done