Update now updates snap packages
This commit is contained in:
parent
3663b570ce
commit
4a337d1e9b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue