From 7102cb38dc4b88032448832133501847d6c2a686 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sun, 9 Jan 2022 17:20:25 +0800 Subject: [PATCH] fix snap.sh --- install/001-snap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/001-snap.sh b/install/001-snap.sh index 2eade47..bbeae80 100755 --- a/install/001-snap.sh +++ b/install/001-snap.sh @@ -1,7 +1,7 @@ #!/bin/bash echo echo "===============================================" -echo "Installing flatpak and its software..." +echo "Installing snap and its software..." echo "===============================================" echo @@ -14,7 +14,7 @@ snapi() { [[ $? -ne 0 ]] && snap install $1 --classic } -if !installed snapd; then +if ! installed snapd; then sudo apt update sudo apt install -y --autoremove snapd gnome-software-plugin-snap fi