diff options
-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 |