mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-17 03:37:40 +02:00
Compare commits
No commits in common. "09c84407384c2124344e83eb2d0ba601e1e330cf" and "5d9780f85c7f968be6b40ee4098ebb7c7f724675" have entirely different histories.
09c8440738
...
5d9780f85c
@ -65,14 +65,12 @@ fi
|
|||||||
|
|
||||||
if hash flatpak 2>/dev/null; then
|
if hash flatpak 2>/dev/null; then
|
||||||
# Flatpak apps are sandboxed and should be safe to update automatically
|
# Flatpak apps are sandboxed and should be safe to update automatically
|
||||||
# KEEP --noninteractive IN PLACE! While it removes progress bar, it also
|
flatpak update --assumeyes
|
||||||
# doesn't blink making it worth it in case of migraine attack.
|
|
||||||
flatpak update --noninteractive --assumeyes
|
|
||||||
# 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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if hash snap 2>/dev/null; then
|
if hash snap 2>/dev/null; then
|
||||||
@ -83,8 +81,6 @@ if hash snap 2>/dev/null; then
|
|||||||
# if they have auto-refreshed
|
# if they have auto-refreshed
|
||||||
snap changes
|
snap changes
|
||||||
fi
|
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
|
if hash pkcon 2>/dev/null; then
|
||||||
# So PackageKit using KDE Plasma and possibly GNOME stop alerting about
|
# So PackageKit using KDE Plasma and possibly GNOME stop alerting about
|
||||||
@ -98,6 +94,9 @@ if hash apt-file 2>/dev/null; then
|
|||||||
apt-file update
|
apt-file update
|
||||||
fi
|
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
|
if hash needrestart 2>/dev/null; then
|
||||||
# needrestart batch mode, should be visible on bottom of scrollback
|
# needrestart batch mode, should be visible on bottom of scrollback
|
||||||
# see https://github.com/liske/needrestart/blob/master/README.batch.md
|
# see https://github.com/liske/needrestart/blob/master/README.batch.md
|
||||||
|
@ -40,10 +40,6 @@ flatpak override com.nextcloud.desktopclient.nextcloud --filesystem=~/Nextcloud:
|
|||||||
# PCSX2 files
|
# PCSX2 files
|
||||||
flatpak override net.pcsx2.PCSX2 --filesystem=~/.config/PCSX2:create
|
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 …
|
# Just for verbosity. The results can be seen in /var/lib/flatpak/overrides/global …
|
||||||
flatpak override --show
|
flatpak override --show
|
||||||
# …and /var/lib/flatpak/overrides/org.briarproject.Briar
|
# …and /var/lib/flatpak/overrides/org.briarproject.Briar
|
||||||
@ -53,7 +49,6 @@ flatpak override --show im.riot.Riot
|
|||||||
#flatpak override --show org.claws_mail.Claws-Mail
|
#flatpak override --show org.claws_mail.Claws-Mail
|
||||||
flatpak override --show com.nextcloud.desktopclient.nextcloud
|
flatpak override --show com.nextcloud.desktopclient.nextcloud
|
||||||
flatpak override --show net.pcsx2.PCSX2
|
flatpak override --show net.pcsx2.PCSX2
|
||||||
flatpak override --show com.valvesoftware.Steam
|
|
||||||
|
|
||||||
# Hide commands being executed again
|
# Hide commands being executed again
|
||||||
set +x
|
set +x
|
||||||
|
Loading…
x
Reference in New Issue
Block a user