mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
core98: remove wrong grub.cfg only if it was empty.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -39,7 +39,10 @@ extract_files
|
||||
# Bugfixes for core96 updater bugs...
|
||||
if [ -e /boot/grub/grub.conf ]; then
|
||||
# legacy grub config on xen or citrix conflicts with grub2 config
|
||||
rm /boot/grub/grub.cfg
|
||||
# and core96 contains an empty file
|
||||
if [ ! -s /boot/grub/grub.cfg ]
|
||||
rm /boot/grub/grub.cfg
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -e /boot/grub/grub.cfg ]; then
|
||||
|
||||
Reference in New Issue
Block a user