⛑ add bootloader selection

This commit is contained in:
Vladislav Nepogodin committed 2022-07-28 23:35:09 +04:00
1 parent b34cc284b4
commit 7758e44182
4 files changed
+42 -41

No files matched your search

@@ -44,10 +44,11 @@ Main() {
--text "Choose Bootloader:" ; echo $?)
if [[ "${_exitcode}" -eq 2 ]]; then
echo "GRUB!"
echo "USING GRUB!"
yes | sudo pacman -Sy --needed cachyos-calamares cachyos-calamares-config
elif [[ "${_exitcode}" -eq 3 ]]; then
echo "SYSTEMD-BOOT!"
sudo pacman -Sy cachyos-calamares-systemd cachyos-calamares-systemd-config
echo "USING SYSTEMD-BOOT!"
yes | sudo pacman -Sy --needed cachyos-calamares-systemd cachyos-calamares-systemd-config
else
exit
fi