Change calamares package name to not break old ISOs

Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
Peter Jung committed 2023-02-06 17:21:00 +01:00
1 parent 9c19e41187
commit 2095ae4ba1
4 files changed
+8 -8

No files matched your search

@@ -59,14 +59,14 @@ Main() {
if [[ "${_exitcode}" -eq 2 ]]; then
BOOTLOADER="GRUB"
echo "USING GRUB!"
yes | sudo pacman -R cachyos-calamares-systemd
yes | sudo pacman -R cachyos-calamares-grub
yes | sudo pacman -Sy cachyos-calamares-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
elif [[ "${_exitcode}" -eq 3 ]]; then
BOOTLOADER="SYSTEMD-BOOT"
echo "USING SYSTEMD-BOOT!"
yes | sudo pacman -R cachyos-calamares-grub
yes | sudo pacman -Sy cachyos-calamares-systemd
yes | sudo pacman -R cachyos-calamares-next-grub
yes | sudo pacman -Sy cachyos-calamares-next-systemd
else
exit
fi