mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
1 file changed
+10
-10
@@ -60,22 +60,22 @@ Main() {
|
||||
if [[ "${_exitcode}" -eq 2 ]]; then
|
||||
BOOTLOADER="GRUB"
|
||||
echo "USING GRUB!"
|
||||
yes | sudo pacman -R cachyos-calamares-systemd
|
||||
yes | sudo pacman -R cachyos-calamares-grub
|
||||
yes | sudo pacman -R cachyos-calamares-refind
|
||||
yes | sudo pacman -Sy cachyos-calamares-grub
|
||||
yes | sudo pacman -R cachyos-calamares-next-systemd
|
||||
yes | sudo pacman -R cachyos-calamares-next-grub
|
||||
yes | sudo pacman -R cachyos-calamares-next-refind
|
||||
yes | sudo pacman -Sy cachyos-calamares-next-grub
|
||||
elif [[ "${_exitcode}" -eq 3 ]]; then
|
||||
BOOTLOADER="SYSTEMD-BOOT"
|
||||
echo "USING SYSTEMD-BOOT!"
|
||||
yes | sudo pacman -R cachyos-calamares-grub
|
||||
yes | sudo pacman -R cachyos-calamares-refind
|
||||
yes | sudo pacman -Sy cachyos-calamares-systemd
|
||||
yes | sudo pacman -R cachyos-calamares-next-grub
|
||||
yes | sudo pacman -R cachyos-calamares-next-refind
|
||||
yes | sudo pacman -Sy cachyos-calamares-next-systemd
|
||||
elif [[ "${_exitcode}" -eq 4 ]]; then
|
||||
BOOTLOADER="REFIND"
|
||||
echo "USING REFIND!"
|
||||
yes | sudo pacman -R cachyos-calamares-grub
|
||||
yes | sudo pacman -R cachyos-calamares-systemd
|
||||
yes | sudo pacman -Sy cachyos-calamares-refind
|
||||
yes | sudo pacman -R cachyos-calamares-next-grub
|
||||
yes | sudo pacman -R cachyos-calamares-next-systemd
|
||||
yes | sudo pacman -Sy cachyos-calamares-next-refind
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user