diff --git a/bin/update b/bin/update index cf7a315..4fd2a22 100755 --- a/bin/update +++ b/bin/update @@ -189,6 +189,11 @@ update-system() { fi fi + command -v snap > /dev/null 2>&1 + if [ $? -*eq 0 ]; then + echo $password | sudo -Sp "" snap refresh + fi + # Archlinux based systems command -v yay > /dev/null 2>&1