mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-09 11:52:32 +01:00
bash/deb-update.bash: add user flatpak just in case
This commit is contained in:
parent
7a64bfbfbe
commit
d7d00acd75
@ -74,6 +74,10 @@ if hash flatpak 2>/dev/null; then
|
||||
#echo ' 404 is not a weird error, try flatpak <subcommand> --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
|
||||
|
Loading…
Reference in New Issue
Block a user