From fad72a6c5d23891a821e930e14f69d1737dbb022 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Tue, 9 Jan 2024 22:23:15 +0000 Subject: [PATCH] Fiz missing y/n question for p i --- scripts/p.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/p.sh b/scripts/p.sh index 35127440..6c7eb867 100755 --- a/scripts/p.sh +++ b/scripts/p.sh @@ -68,7 +68,7 @@ p() { return 0 elif [ $1 == "i" ]; then # If first parameter is i (install) echo -e "${GREEN}"[+] Searching for $2 on the distro repos..."${ENDCOLOR}" - $install $2 2>/dev/null + $install $2 if [ $? == 0 ]; then echo -e "${GREEN}"[i] $2 installed."${ENDCOLOR}" return 0 @@ -89,7 +89,7 @@ p() { fi elif [ $1 == "r" ]; then # If first parameter is r (remove) echo -e "${YELLOW}"[+] Removing $2..."${ENDCOLOR}" - $remove $2 2>/dev/null + $remove $2 if [ $? == 0 ]; then echo -e "${GREEN}"[i] $2 removed."${ENDCOLOR}" return 0