summaryrefslogtreecommitdiff
path: root/update-initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'update-initramfs')
-rwxr-xr-xupdate-initramfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-initramfs b/update-initramfs
index 1ec8c7d..c1e42ab 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -95,7 +95,7 @@ run_lilo()
# or if "do_bootloader = yes" is set
run_bootloader()
{
- if [ -x /sbin/grub -o -e /boot/grub/menu.lst ]; then
+ if [ -x /sbin/grub ] || [ -e /boot/grub/menu.lst ]; then
if [ -e /etc/lilo.conf ]; then
[ -r "${KPKGCONF}" ] && \
do_b=$(awk '/bootloader/{print $3}' "${KPKGCONF}")