From 9dcf1bf6792d3a1225bcb40e69081c1ca2e9dea0 Mon Sep 17 00:00:00 2001 From: Robin Candau Date: Thu, 4 Jan 2024 17:40:27 +0100 Subject: [PATCH] Better error message --- src/script/arch-update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index 00cd446..7580874 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -332,7 +332,7 @@ orphan_packages() { if ! pacman -Qtdq | "${su_cmd}" pacman -Rns -; then echo - error_msg "An error has occurred\nThe removal has been aborted\n" + error_msg "An error has occurred during the removal process\nThe removal has been aborted\n" else echo info_msg "The removal has been applied\n" @@ -365,7 +365,7 @@ orphan_packages() { if ! flatpak remove --unused; then echo - error_msg "An error has occurred\nThe removal has been aborted\n" + error_msg "An error has occurred the removal process\nThe removal has been aborted\n" else echo info_msg "The removal has been applied\n"