From 107fbf1f3894c3088477d1ad34458a3531539383 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 12 Sep 2019 01:20:41 +0300 Subject: [PATCH] deb-update.bash: add flatpak uninstall --unused --- bash/deb-update.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index bd0fcfc..59f2181 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -15,6 +15,9 @@ apt-get "$@" upgrade --with-new-pkgs # Flatpak apps are sandboxed and should be safe to update automatically 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 # doing everything else too