diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-01-23 21:04:03 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-01-23 21:04:03 (EST) |
commit | f6e930a45f77f6ab3fa3c082003c32436f2c1df1 (patch) | |
tree | 7eb3189d1a990adec44c9e8cdc9d6bbe05f128b7 | |
parent | 1fbfb8505b9e2cd015457bc25824c60d45dde552 (diff) |
lilo.pkg/postinst: Only run if vmlinuz and vmlinuz.old exist
-rw-r--r-- | lilo.pkg/postinst | 5 |
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 |