fix snap.sh

experimental
Anthony Axenov 2022-01-09 17:20:25 +08:00
parent cd0dc9d988
commit 7102cb38dc
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
1 changed files with 2 additions and 2 deletions

View File

@ -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