mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
calamares-online: Add refind as option
Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
1 file changed
+14
-5
@@ -50,6 +50,7 @@ Main() {
|
||||
--image=gnome-shutdown \
|
||||
--button="Grub:2" \
|
||||
--button="Systemd-boot:3" \
|
||||
--button="Refind:4" \
|
||||
--text "Choose Bootloader:" ; echo $?)
|
||||
else
|
||||
SYSTEM="BIOS/MBR SYSTEM"
|
||||
@@ -59,14 +60,22 @@ Main() {
|
||||
if [[ "${_exitcode}" -eq 2 ]]; then
|
||||
BOOTLOADER="GRUB"
|
||||
echo "USING GRUB!"
|
||||
yes | sudo pacman -R cachyos-calamares-next-systemd
|
||||
yes | sudo pacman -R cachyos-calamares-next-grub
|
||||
yes | sudo pacman -Sy cachyos-calamares-next-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
|
||||
elif [[ "${_exitcode}" -eq 3 ]]; then
|
||||
BOOTLOADER="SYSTEMD-BOOT"
|
||||
echo "USING SYSTEMD-BOOT!"
|
||||
yes | sudo pacman -R cachyos-calamares-next-grub
|
||||
yes | sudo pacman -Sy cachyos-calamares-next-systemd
|
||||
yes | sudo pacman -R cachyos-calamares-grub
|
||||
yes | sudo pacman -R cachyos-calamares-refind
|
||||
yes | sudo pacman -Sy cachyos-calamares-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
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user