deb-update.bash: make flatpak noninteractive and add comment to remind of migraine

This commit is contained in:
Aminda Suomalainen 2023-01-15 14:49:39 +02:00
parent c2c1862dfc
commit b49aa13e5e
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -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 <subcommand> --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