From c272affc3679ff8c605b52283ef8bfe14475521d Mon Sep 17 00:00:00 2001 From: Botspot Date: Thu, 12 Aug 2021 17:53:34 -0500 Subject: [PATCH] Improve error message for snap remove snap-store --- apps/Snap Store/uninstall | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/Snap Store/uninstall b/apps/Snap Store/uninstall index 9629eed..ef5615d 100755 --- a/apps/Snap Store/uninstall +++ b/apps/Snap Store/uninstall @@ -7,10 +7,7 @@ function error { exit 1 } -sudo snap remove snap-store || error "Unable to uninstall snap store" - -rm -f /usr/share/applications/snap - +sudo snap remove snap-store || error "The snap command failed to uninstall snap-store\nPerhaps running this command would fix it?\nsudo apt install --reinstall snapd" echo -e "\e[93mNote: To prevent removing user data, uninstalling the Snap Store app does not uninstall the snapd package! To completely remove everything snap-related, run this command: