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
|
if ! pacman -Qi "$pkg" &>/dev/null; then
|
||||||
echo -e "\e[1A\e[K${OK} $pkg was uninstalled."
|
echo -e "\e[1A\e[K${OK} $pkg was uninstalled."
|
||||||
else
|
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
|
return 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ read -p "${SKY_BLUE}Would you like to proceed? (y/n): ${RESET}" proceed
|
|||||||
|
|
||||||
if [ "$proceed" != "y" ]; then
|
if [ "$proceed" != "y" ]; then
|
||||||
printf "\n%.0s" {1..2}
|
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}
|
printf "\n%.0s" {1..2}
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user