Snap store uninstall: improve error formatting

pull/904/head
Botspot 4 years ago
parent eaa6776f64
commit 6f8ed4b5f4

@ -9,7 +9,7 @@ function error {
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" 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: echo -e "\e[93mNote: To prevent removing user data, uninstalling the Snap Store app does not uninstall the snapd package!\nTo completely remove everything snap-related, run this command:
sudo apt purge snapd\e[39m sudo apt purge snapd\e[39m
" "

Loading…
Cancel
Save