mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-04 21:27:21 +02:00
Compare commits
4 Commits
a53336d42b
...
6506f34d81
Author | SHA1 | Date | |
---|---|---|---|
6506f34d81 | |||
1f00d17de7 | |||
17a22d08b1 | |||
f17fc66ac4 |
@ -58,13 +58,6 @@ if [[ -f /usr/bin/dnf && ! -d /sysroot/ostree ]]; then
|
||||
|
||||
# potentially unsafe, see a few lines above and the apt-get section
|
||||
dnf "$@" autoremove
|
||||
elif [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
|
||||
rpm-ostree upgrade --check
|
||||
sleep 5
|
||||
rpm-ostree upgrade
|
||||
sleep 5
|
||||
rpm-ostree status -v
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
# Arch Linux package management
|
||||
@ -158,9 +151,13 @@ if hash checkservices 2> /dev/null; then
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
# Sedric workaround, located in this repo. I trust /root/
|
||||
if [ -f /root/fixgrub.bash ]; then
|
||||
. /root/fixgrub.bash
|
||||
if [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
|
||||
rpm-ostree upgrade --check
|
||||
sleep 5
|
||||
rpm-ostree upgrade
|
||||
sleep 5
|
||||
rpm-ostree status -v
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
# Hide commands being executed again
|
||||
|
@ -1,33 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Theoretically this should never run
|
||||
# READ https://fedoraproject.org/wiki/GRUB_2 !!!!!
|
||||
|
||||
set -x
|
||||
|
||||
# Fedora < 34
|
||||
#if [ -f /boot/efi/EFI/fedora/grub.cfg.rpmsave ]; then
|
||||
# rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave
|
||||
# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
||||
#fi
|
||||
|
||||
# There is no reason to run if dnf hasn't moved the proper config aside.
|
||||
if [ -f /etc/grub2.cfg.rpmsave ]; then
|
||||
rm -f /etc/grub2.cfg.rpmsave
|
||||
grub2-mkconfig -o /etc/grub2.cfg
|
||||
fi
|
||||
|
||||
# There is no reason to run if dnf hasn't moved the proper config aside.
|
||||
if [ -f /etc/grub2-efi.cfg.rpmsave ]; then
|
||||
rm -f /etc/grub2-efi.cfg.rpmsave
|
||||
grub2-mkconfig -o /etc/grub2-efi.cfg
|
||||
fi
|
||||
|
||||
# There is no reason to run if dnf hasn't moved the proper config aside.
|
||||
# Legacy boot method for grub update.
|
||||
# if [ -f /boot/grub2/grub.cfg.rpmsave ]; then
|
||||
# rm -f /boot/grub2/grub.cfg.rpmsave
|
||||
# grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
# fi
|
||||
|
||||
set +x
|
@ -96,6 +96,15 @@ flatpak override com.valvesoftware.Steam --filesystem=~/SteamLibrary:create $@
|
||||
flatpak override net.lutris.Lutris --filesystem=~/SteamLibrary:create $@
|
||||
flatpak override com.heroicgameslauncher.hgl --filesystem=~/SteamLibrary:create $@
|
||||
|
||||
# Steam's Proton-GE (flatpak). Not supported. Via https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/309#issuecomment-2746256940
|
||||
# Add /var/lib/flatpak/runtime/com.valvesoftware.Steam.CompatibilityTool.Proton-GE/$(uname -m)/stable/active/files/proton
|
||||
# as a custom proton
|
||||
# TODO NOT: don't do this, use the integrated Proton-GE-Latest from WINE
|
||||
# manager and just don't enable mangohud in GUI (enabled by this script
|
||||
# already) and keep gamescope/upscaling off and there will not be hooking
|
||||
# failure message.
|
||||
#flatpak override com.heroicgameslauncher.hgl --filesystem=/var/lib/flatpak/runtime/com.valvesoftware.Steam.CompatibilityTool.Proton-GE/$(uname -m)/stable $@
|
||||
|
||||
# My Steam Deck laziness. My systemd units check for /var/ and Steam checks
|
||||
# free space based on top level directory so it has to be a subdirectory
|
||||
# and while the mount point may be /var/sdcard I don't want to give it
|
||||
|
Loading…
x
Reference in New Issue
Block a user