Set to uninstall rofi as conflicts with rofi-wayland

This commit is contained in:
JaKooLit
2024-08-26 20:31:40 +09:00
parent 73938d8343
commit a177ed254f
2 changed files with 12 additions and 12 deletions

View File

@@ -69,7 +69,7 @@ uninstall_package() {
if pacman -Qi "$1" &>> /dev/null ; then
# Package is installed
echo -e "${NOTE} Uninstalling $1 ..."
sudo pacman -Rns --noconfirm "$1" 2>&1 | tee -a "$LOG"
sudo pacman -R --noconfirm "$1" 2>&1 | tee -a "$LOG"
# Making sure package is uninstalled
if ! pacman -Qi "$1" &>> /dev/null ; then
echo -e "\e[1A\e[K${OK} $1 was uninstalled."