From b49aa13e5e4cfaef6b941fdfe5b89e0c6304c19d Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 15 Jan 2023 14:49:39 +0200 Subject: [PATCH] deb-update.bash: make flatpak noninteractive and add comment to remind of migraine --- bash/deb-update.bash | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index 9cb761d..9340369 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -65,12 +65,14 @@ fi if hash flatpak 2>/dev/null; then # Flatpak apps are sandboxed and should be safe to update automatically - flatpak update --assumeyes + # KEEP --noninteractive IN PLACE! While it removes progress bar, it also + # doesn't blink making it worth it in case of migraine attack. + flatpak update --noninteractive --assumeyes # Note to self echo '!!! In case of weird errors e.g. while trying to checkout, try running: flatpak repair' echo ' 404 is not a weird error, try flatpak --no-static-deltas' # Flatpak's version of `apt autoremove` - flatpak uninstall --unused --assumeyes + flatpak uninstall --unused --assumeyes --noninteractive fi if hash snap 2>/dev/null; then