hey. Dont mind me.. I am still tweaking :)
This commit is contained in:
@@ -106,7 +106,7 @@ uninstall_package() {
|
||||
if ! pacman -Qi "$pkg" &>/dev/null; then
|
||||
echo -e "\e[1A\e[K${OK} $pkg was uninstalled."
|
||||
else
|
||||
echo -e "\e[1A\e[K${ERROR} $pkg failed to uninstall. Please check the log."
|
||||
echo -e "\e[1A\e[K${ERROR} $pkg failed to uninstall. No actions required."
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
|
||||
@@ -68,7 +68,7 @@ read -p "${SKY_BLUE}Would you like to proceed? (y/n): ${RESET}" proceed
|
||||
|
||||
if [ "$proceed" != "y" ]; then
|
||||
printf "\n%.0s" {1..2}
|
||||
echo "${INFO} Installation aborted. No changes done! Goodbye!"
|
||||
echo "${INFO} Installation aborted. ${SKY_BLUE}No changes in your system.${RESET} ${YELLOW}Goodbye!${RESET}"
|
||||
printf "\n%.0s" {1..2}
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user