deb-update.bash: add flatpak uninstall --unused

This commit is contained in:
Aminda Suomalainen 2019-09-12 01:20:41 +03:00
parent 919d826966
commit 107fbf1f38
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -15,6 +15,9 @@ apt-get "$@" upgrade --with-new-pkgs
# Flatpak apps are sandboxed and should be safe to update automatically # Flatpak apps are sandboxed and should be safe to update automatically
flatpak update --assumeyes flatpak update --assumeyes
# Flatpak's version of `apt autoremove`, I cannot remember it ever removing
# anything necessary
flatpak uninstall --unused --assumeyes
# Snap packages auto-update anyway though, but I like checking them while # Snap packages auto-update anyway though, but I like checking them while
# doing everything else too # doing everything else too