mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
13 lines
466 B
Bash
13 lines
466 B
Bash
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
|
|
|
|
[ -f /boot/EFI/limine/limine.conf ] && sudo rm -f /boot/EFI/limine/limine.conf
|
|
[ -f /boot/EFI/BOOT/limine.conf ] && sudo rm -f /boot/EFI/BOOT/limine.conf
|
|
[ -f /boot/limine/limine.conf ] && sudo rm -f /boot/limine/limine.conf
|
|
fi
|