Compare commits

...

3 Commits

2 changed files with 11 additions and 5 deletions

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
@ -81,6 +83,8 @@ if hash snap 2>/dev/null; then
# if they have auto-refreshed
snap changes
fi
# I don't have flatpak or snap going to background, because I often do
# ./deb-update.bash && poweroff
if hash pkcon 2>/dev/null; then
# So PackageKit using KDE Plasma and possibly GNOME stop alerting about
@ -94,9 +98,6 @@ if hash apt-file 2>/dev/null; then
apt-file update
fi
# I don't have flatpak or snap going to background, because I often do
# ./deb-update.bash && poweroff
if hash needrestart 2>/dev/null; then
# needrestart batch mode, should be visible on bottom of scrollback
# see https://github.com/liske/needrestart/blob/master/README.batch.md

View File

@ -40,6 +40,10 @@ flatpak override com.nextcloud.desktopclient.nextcloud --filesystem=~/Nextcloud:
# PCSX2 files
flatpak override net.pcsx2.PCSX2 --filesystem=~/.config/PCSX2:create
# A directory I can share between native and flatpak Steam so both have the
# same games without having to navigate weird paths.
flatpak override com.valvesoftware.Steam --filesystem=~/SteamLibrary:create
# Just for verbosity. The results can be seen in /var/lib/flatpak/overrides/global …
flatpak override --show
# …and /var/lib/flatpak/overrides/org.briarproject.Briar
@ -49,6 +53,7 @@ flatpak override --show im.riot.Riot
#flatpak override --show org.claws_mail.Claws-Mail
flatpak override --show com.nextcloud.desktopclient.nextcloud
flatpak override --show net.pcsx2.PCSX2
flatpak override --show com.valvesoftware.Steam
# Hide commands being executed again
set +x