From 671dee8b7d6cc2a49a1d8faf9fb529cc7fd5c1b5 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Fri, 29 Jul 2022 00:21:19 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20fix=20bootloader=20selection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archiso/airootfs/usr/local/bin/calamares-online.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archiso/airootfs/usr/local/bin/calamares-online.sh b/archiso/airootfs/usr/local/bin/calamares-online.sh index 7b8b1b5..9259dcc 100755 --- a/archiso/airootfs/usr/local/bin/calamares-online.sh +++ b/archiso/airootfs/usr/local/bin/calamares-online.sh @@ -45,9 +45,11 @@ Main() { if [[ "${_exitcode}" -eq 2 ]]; then echo "USING GRUB!" + yes | sudo pacman -Rsn cachyos-calamares-systemd cachyos-calamares-systemd-config yes | sudo pacman -Sy --needed cachyos-calamares cachyos-calamares-config elif [[ "${_exitcode}" -eq 3 ]]; then echo "USING SYSTEMD-BOOT!" + yes | sudo pacman -Rsn cachyos-calamares cachyos-calamares-config yes | sudo pacman -Sy --needed cachyos-calamares-systemd cachyos-calamares-systemd-config else exit