mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-23 03:02:53 +01:00
deb-update.bash: just update with --no-static-deltas if flatpak update fails
This commit is contained in:
parent
4e8fb38d98
commit
bebbae678f
@ -68,9 +68,10 @@ if hash flatpak 2>/dev/null; then
|
|||||||
# KEEP --noninteractive IN PLACE! While it removes progress bar, it also
|
# KEEP --noninteractive IN PLACE! While it removes progress bar, it also
|
||||||
# doesn't blink making it worth it in case of migraine attack.
|
# doesn't blink making it worth it in case of migraine attack.
|
||||||
flatpak update --noninteractive --assumeyes
|
flatpak update --noninteractive --assumeyes
|
||||||
|
flatpak update --noninteractive --assumeyes --no-static-deltas
|
||||||
# Note to self
|
# Note to self
|
||||||
echo '!!! In case of weird errors e.g. while trying to checkout, try running: flatpak repair'
|
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'
|
#echo ' 404 is not a weird error, try flatpak <subcommand> --no-static-deltas'
|
||||||
# Flatpak's version of `apt autoremove`
|
# Flatpak's version of `apt autoremove`
|
||||||
flatpak uninstall --unused --assumeyes --noninteractive
|
flatpak uninstall --unused --assumeyes --noninteractive
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user