diff --git a/install/login/limine-snapper.sh b/install/login/limine-snapper.sh index e837b01f..1f00375a 100644 --- a/install/login/limine-snapper.sh +++ b/install/login/limine-snapper.sh @@ -78,6 +78,11 @@ term_background_bright: 24283b EOF + # Remove the original config file if it's not /boot/limine.conf + if [[ "$limine_config" != "/boot/limine.conf" ]] && [[ -f "$limine_config" ]]; then + sudo rm "$limine_config" + fi + # Match Snapper configs if not installing from the ISO if [[ -z ${OMARCHY_CHROOT_INSTALL:-} ]]; then diff --git a/migrations/1762446739.sh b/migrations/1762446739.sh new file mode 100644 index 00000000..37ad3b1b --- /dev/null +++ b/migrations/1762446739.sh @@ -0,0 +1,12 @@ +echo "Remove alternative limine.conf files" + +if omarchy-cmd-present limine; then + if [ ! -f /boot/limine.conf ]; then + echo "Error: /boot/limine.conf does not exist. Do not reboot without resolving this issue!" + exit 1 + fi + + sudo rm -f /boot/EFI/limine/limine.conf + sudo rm -f /boot/EFI/BOOT/limine.conf + sudo rm -f /boot/limine/limine.conf +fi diff --git a/version b/version index 3ad0595a..9cec7165 100644 --- a/version +++ b/version @@ -1 +1 @@ -3.1.5 +3.1.6