Bring back the removal of conflicting limine.confs

This commit is contained in:
David Heinemeier Hansson
2026-01-05 16:14:58 +01:00
parent 54e5be18ea
commit 09f696aea4

View File

@@ -37,6 +37,11 @@ EOF
sudo sed -i '/^ENABLE_UKI=/d; /^ENABLE_LIMINE_FALLBACK=/d' /etc/default/limine sudo sed -i '/^ENABLE_UKI=/d; /^ENABLE_LIMINE_FALLBACK=/d' /etc/default/limine
fi fi
# 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
# We overwrite the whole thing knowing the limine-update will add the entries for us # We overwrite the whole thing knowing the limine-update will add the entries for us
sudo cp $OMARCHY_PATH/default/limine/limine.conf /boot/limine.conf sudo cp $OMARCHY_PATH/default/limine/limine.conf /boot/limine.conf