cachyos-calamares-config is not needed with the next release

Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
Peter Jung committed 2022-11-17 13:43:00 +01:00
1 parent cdf1c57190
commit ee7da4323a
1 file changed
+5 -5
@@ -59,14 +59,14 @@ Main() {
if [[ "${_exitcode}" -eq 2 ]]; then
BOOTLOADER="GRUB"
echo "USING GRUB!"
yes | sudo pacman -R cachyos-calamares-systemd cachyos-calamares-systemd-config
yes | sudo pacman -R cachyos-calamares cachyos-calamares-config
yes | sudo pacman -Sy cachyos-calamares cachyos-calamares-config
yes | sudo pacman -R cachyos-calamares-systemd
yes | sudo pacman -R cachyos-calamares
yes | sudo pacman -Sy cachyos-calamares
elif [[ "${_exitcode}" -eq 3 ]]; then
BOOTLOADER="SYSTEMD-BOOT"
echo "USING SYSTEMD-BOOT!"
yes | sudo pacman -R cachyos-calamares cachyos-calamares-config
yes | sudo pacman -Sy cachyos-calamares-systemd cachyos-calamares-systemd-config
yes | sudo pacman -R cachyos-calamares
yes | sudo pacman -Sy cachyos-calamares-systemd
else
exit
fi