summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-23 20:39:30 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-23 20:39:30 (EST)
commit1fbfb8505b9e2cd015457bc25824c60d45dde552 (patch)
treec73d9b61bf1618fdf237db87d8bf3d27cefc68ae
parent9a9702ccdf69e83ddc191e56f857e01682e4a7a4 (diff)
kernel-postinst.sh: Fix test command
-rw-r--r--kernel-postinst.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel-postinst.sh b/kernel-postinst.sh
index 069dacc..77caeaa 100644
--- a/kernel-postinst.sh
+++ b/kernel-postinst.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-if ! [ /boot/vmlinuz.old ]; then
+if ! [ -e /boot/vmlinuz.old ]; then
ln /boot/vmlinuz /boot/vmlinuz.old
fi