summaryrefslogtreecommitdiff
path: root/debian/postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postrm')
-rw-r--r--debian/postrm2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/postrm b/debian/postrm
index b2d37bb..b94b3bd 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,6 +1,6 @@
#!/bin/sh
-case "$(ls -l /boot/vmlinuz-* | wc -l)" in
+case "$(ls -l /boot/vmlinu* | wc -l)" in
1)
# We only have one kernel installed, so we can use "-u"
# which will use dpkg-trigger inside update-initramfs