aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/upgrade')
-rwxr-xr-xshare/hydractl/upgrade5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hydractl/upgrade b/share/hydractl/upgrade
index f049809..a84742b 100755
--- a/share/hydractl/upgrade
+++ b/share/hydractl/upgrade
@@ -49,6 +49,11 @@ if which flatpak &> /dev/null; then
$sudo flatpak update -y
fi
+# Upgrade all snap packages
+if which snap &> /dev/null; then
+ $sudo snap refresh
+fi
+
# Cleanup
if [ "$CLEAN" != "noclean" ]; then
$sudo apt-get clean