From e11c134b591e34766973461cb102a23cb547826b Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 6 Feb 2025 12:24:00 +0900 Subject: [PATCH] another tweak --- install-scripts/Global_functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install-scripts/Global_functions.sh b/install-scripts/Global_functions.sh index 0361c75..d48f7d6 100755 --- a/install-scripts/Global_functions.sh +++ b/install-scripts/Global_functions.sh @@ -100,13 +100,13 @@ uninstall_package() { # Checking if package is installed if sudo dpkg -l | grep -q -w "^ii $1" ; then - echo -e "${NOTE} Uninstalling $pkg ..." + echo -e "${NOTE} removing $pkg ..." sudo apt autoremove -y "$1" >> "$LOG" 2>&1 | grep -v "error: target not found" if ! dpkg -l | grep -q -w "^ii $1" ; then - echo -e "\e[1A\e[K${OK} ${MAGENTA}$1${RESET} was uninstalled." + echo -e "\e[1A\e[K${OK} ${MAGENTA}$1${RESET} removed." else - echo -e "\e[1A\e[K${ERROR} $pkg failed to uninstall. No actions required." + echo -e "\e[1A\e[K${ERROR} $pkg Removal failed. No actions required." return 1 fi else