diff options
| author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-22 00:54:09 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:00 +0100 |
| commit | 1d2375f115cabb543f6a2cf250c6331aff249ada (patch) | |
| tree | fca868b48464e130fb7e97e35515dccfcf4607e6 | |
| parent | d5347eae8a5e2bf7a1f4eb2ae85e8dac5920d4d1 (diff) | |
| download | live-boot-1d2375f115cabb543f6a2cf250c6331aff249ada.tar.gz live-boot-1d2375f115cabb543f6a2cf250c6331aff249ada.zip | |
Expand glob for kernels in post{inst,rm} to include "vmlinux"-prefixed kernels on powerpc.
| -rw-r--r-- | debian/postinst | 2 | ||||
| -rw-r--r-- | debian/postrm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/postinst b/debian/postinst index b2d37bb..b94b3bd 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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 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 |
