Update now updates snap packages

This commit is contained in:
Thomas Forgione 2023-08-23 16:25:03 +02:00
parent 3663b570ce
commit 4a337d1e9b
1 changed files with 5 additions and 0 deletions

View File

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