diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-17 09:56:49 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-17 09:56:49 -0200 |
commit | 87b669d7fe280c99eebd4870d5f084493552c078 (patch) | |
tree | f3aec213b11f072625976c65546167763008e210 | |
parent | bb873d81289eb21f67d1da1fa4d2efc204bd0dd5 (diff) | |
download | hydra-87b669d7fe280c99eebd4870d5f084493552c078.tar.gz hydra-87b669d7fe280c99eebd4870d5f084493552c078.tar.bz2 |
Upgrade all flatpak packages
-rw-r--r-- | TODO.md | 1 | ||||
-rwxr-xr-x | share/hydractl/upgrade | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -3,6 +3,5 @@ TODO * hydractl * aperiodic-upgrade: run hydractl upgrade if it doesn't ran for a day or more. - * upgrade: run flatpak upgrade if available. * sync-tpc: way to ignore /var/cache/qemu and other files from syncing, perhaps a .sync-tpc-ignore. 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 |