diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-01-19 20:27:46 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-01-19 20:27:46 -0200 |
commit | 7ac35a49e69c6a65c668450f12679eb0a2aab011 (patch) | |
tree | 9c04419f1170f97ba48a7250524c601918b636e1 /share | |
parent | 40bffbe91a762217e1679586b80df06fbf754f3c (diff) | |
download | hydra-7ac35a49e69c6a65c668450f12679eb0a2aab011.tar.gz hydra-7ac35a49e69c6a65c668450f12679eb0a2aab011.tar.bz2 |
Upgrade all snap packages at hydractl upgrade
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/upgrade | 5 |
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 |