summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lilo.pkg/postinst5
1 files changed, 4 insertions, 1 deletions
diff --git a/lilo.pkg/postinst b/lilo.pkg/postinst
index 5a996aa..17552c6 100644
--- a/lilo.pkg/postinst
+++ b/lilo.pkg/postinst
@@ -1,4 +1,7 @@
#!/bin/sh
-install-lilo
+if [ -e /boot/vmlinuz ] && [ -e /boot/vmlinuz.old ]; then
+ /sbin/install-lilo
+fi
+
exit 0