aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-01-19 20:27:46 -0200
committerSilvio Rhatto <rhatto@riseup.net>2019-01-19 20:27:46 -0200
commit7ac35a49e69c6a65c668450f12679eb0a2aab011 (patch)
tree9c04419f1170f97ba48a7250524c601918b636e1 /share
parent40bffbe91a762217e1679586b80df06fbf754f3c (diff)
downloadhydra-7ac35a49e69c6a65c668450f12679eb0a2aab011.tar.gz
hydra-7ac35a49e69c6a65c668450f12679eb0a2aab011.tar.bz2
Upgrade all snap packages at hydractl upgrade
Diffstat (limited to 'share')
-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