File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,11 @@ term_background_bright: 24283b
7878
7979EOF
8080
81+ # Remove the original config file if it's not /boot/limine.conf
82+ if [[ " $limine_config " != " /boot/limine.conf" ]] && [[ -f " $limine_config " ]]; then
83+ sudo rm " $limine_config "
84+ fi
85+
8186
8287 # Match Snapper configs if not installing from the ISO
8388 if [[ -z ${OMARCHY_CHROOT_INSTALL:- } ]]; then
Original file line number Diff line number Diff line change 1+ echo " Remove alternative limine.conf files"
2+
3+ if omarchy-cmd-present limine; then
4+ if [ ! -f /boot/limine.conf ]; then
5+ echo " Error: /boot/limine.conf does not exist. Do not reboot without resolving this issue!"
6+ exit 1
7+ fi
8+
9+ sudo rm -f /boot/EFI/limine/limine.conf
10+ sudo rm -f /boot/EFI/BOOT/limine.conf
11+ sudo rm -f /boot/limine/limine.conf
12+ fi
Original file line number Diff line number Diff line change 1- 3.1.5
1+ 3.1.6
You can’t perform that action at this time.
0 commit comments