diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-07-28 01:29:52 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-07-28 01:29:52 +0200 |
commit | 979ea01705259ea410690c93ce3805e7a9959db9 (patch) | |
tree | 5008ebb243ecbf2b2158468858bba3e89841f101 /debian/rules | |
parent | af3da99dd50e47b93d0aa54b531b9dabaa4800af (diff) |
Update grub list on -dbg package install too
* debian/rules: Add prerm, preinst, postrm, postinst to -dbg kernels too, to
update grub list.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules index 8d31fa4..307567f 100755 --- a/debian/rules +++ b/debian/rules @@ -168,14 +168,14 @@ install: build ifeq ($(DEB_HOST_ARCH_OS),hurd) for script in preinst prerm postinst postrm ; do \ - sed -e "s/@VERSION@/$(VERSION)/g" \ - -e "s/@RELEASE@/$(VERSION)-$(MACHINE)/g" \ - debian/gnumach-image.$$script.in \ - > debian/gnumach-image-$(VERSION)-$(MACHINE).$$script ; \ - sed -e "s/@VERSION@/$(VERSION)/g" \ - -e "s/@RELEASE@/$(VERSION)-xen-$(MACHINE)/g" \ - debian/gnumach-image.$$script.in \ - > debian/gnumach-image-$(VERSION)-xen-$(MACHINE).$$script ; \ + for prefix in "" -xen ; do \ + for suffix in "" -dbg ; do \ + sed -e "s/@VERSION@/$(VERSION)/g" \ + -e "s/@RELEASE@/$(VERSION)$$prefix-$(MACHINE)$$suffix/g" \ + debian/gnumach-image.$$script.in \ + > debian/gnumach-image-$(VERSION)$$prefix-$(MACHINE)$$suffix.$$script ; \ + done ; \ + done ; \ done endif |