aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/upgrade
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-17 09:56:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-17 09:56:49 -0200
commit87b669d7fe280c99eebd4870d5f084493552c078 (patch)
treef3aec213b11f072625976c65546167763008e210 /share/hydractl/upgrade
parentbb873d81289eb21f67d1da1fa4d2efc204bd0dd5 (diff)
downloadhydra-87b669d7fe280c99eebd4870d5f084493552c078.tar.gz
hydra-87b669d7fe280c99eebd4870d5f084493552c078.tar.bz2
Upgrade all flatpak packages
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 4b81e7f..ce4492c 100755
--- a/share/hydractl/upgrade
+++ b/share/hydractl/upgrade
@@ -44,6 +44,11 @@ hydractl chroot-upgrade
# Upgrade all pbuilder chroots
hydractl pbuilder-upgrade
+# Upgrade all flatpak packages
+if which flatpak &> /dev/null
+ $sudo flatpak update
+fi
+
# Cleanup
if [ "$CLEAN" != "noclean" ]; then
$sudo apt-get clean