fix problem wherein we break kernel install if we're not configured yet
[debian/elilo] / debian / elilo.kernel-postinst
index 0b8c9449d97ed95280887bd777f959bc2a5edc92..d8f0866904da9fd492e7f7d98ea2ec6b629b1a61 100644 (file)
@@ -1,2 +1,6 @@
 #!/bin/sh
-elilo </dev/null >&2
+if [ -e /etc/elilo.conf ]; then
+    elilo </dev/null >&2
+else
+    echo >&2 "elilo: Not updating; /etc/elilo.conf not found"
+fi