From 997b7a8a540f3de0def3d1f17b9a976f9989dec5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 19 Sep 2011 02:26:24 +0000 Subject: added prerm script for update-alternatives svn path=/trunk/; revision=15302 --- packages/linux_make/Makefile | 6 ++++-- packages/linux_make/debian/pd-extended.postinst | 0 2 files changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 packages/linux_make/debian/pd-extended.postinst (limited to 'packages') diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile index e1f3eb28..f59c7e43 100755 --- a/packages/linux_make/Makefile +++ b/packages/linux_make/Makefile @@ -146,8 +146,10 @@ deb: $(bindir) # debian packaging test -d $(DESTDIR)/DEBIAN || mkdir -p $(DESTDIR)/DEBIAN cp $(packages_src)/linux_make/debian/control $(DESTDIR)/DEBIAN - cp $(packages_src)/linux_make/debian/pd-extended.postrm $(DESTDIR)/DEBIAN - cp $(packages_src)/linux_make/debian/pd-extended.postinst $(DESTDIR)/DEBIAN + install -p -m0755 $(packages_src)/linux_make/debian/pd-extended.prerm \ + $(packages_src)/linux_make/debian/pd-extended.postrm \ + $(packages_src)/linux_make/debian/pd-extended.postinst \ + $(DESTDIR)/DEBIAN # set build architecture and version for the package sed -i 's|^Version:.*|Version: $(DEB_PD_VERSION)|' \ $(DESTDIR)/DEBIAN/control diff --git a/packages/linux_make/debian/pd-extended.postinst b/packages/linux_make/debian/pd-extended.postinst old mode 100644 new mode 100755 -- cgit v1.2.1