🚧 fix bootloader selection

This commit is contained in:
Vladislav Nepogodin committed 2022-07-29 00:21:27 +04:00
1 parent 7758e44182
commit 671dee8b7d
1 file changed
+2
@@ -45,9 +45,11 @@ Main() {
if [[ "${_exitcode}" -eq 2 ]]; then if [[ "${_exitcode}" -eq 2 ]]; then
echo "USING GRUB!" echo "USING GRUB!"
yes | sudo pacman -Rsn cachyos-calamares-systemd cachyos-calamares-systemd-config
yes | sudo pacman -Sy --needed cachyos-calamares cachyos-calamares-config yes | sudo pacman -Sy --needed cachyos-calamares cachyos-calamares-config
elif [[ "${_exitcode}" -eq 3 ]]; then elif [[ "${_exitcode}" -eq 3 ]]; then
echo "USING SYSTEMD-BOOT!" 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 yes | sudo pacman -Sy --needed cachyos-calamares-systemd cachyos-calamares-systemd-config
else else
exit exit