From d7d00acd756bd1cfc0aa97aa430f2d1d2ac16267 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 27 Sep 2023 22:13:56 +0300 Subject: [PATCH] bash/deb-update.bash: add user flatpak just in case --- bash/deb-update.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index a543c0a..995d48c 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -74,6 +74,10 @@ if hash flatpak 2>/dev/null; then #echo ' 404 is not a weird error, try flatpak --no-static-deltas' # Flatpak's version of `apt autoremove` flatpak uninstall --unused --assumeyes --noninteractive + # And as an user although probably inapplicable for sudo/root + flatpak update --user --noninteractive --assumeyes + flatpak update --user --noninteractive --assumeyes --no-static-deltas + flatpak uninstall --user --unused --assumeyes --noninteractive fi if hash snap 2>/dev/null; then