aboutsummaryrefslogtreecommitdiff
path: root/packages/linux_make
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-19 02:26:24 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-19 02:26:24 +0000
commit997b7a8a540f3de0def3d1f17b9a976f9989dec5 (patch)
treea42216c8ad1ca396f564c1ee862e733f74156efb /packages/linux_make
parentf06be0105e98508c18cdfb50e0818b4fe4679d83 (diff)
added prerm script for update-alternatives
svn path=/trunk/; revision=15302
Diffstat (limited to 'packages/linux_make')
-rwxr-xr-xpackages/linux_make/Makefile6
-rwxr-xr-x[-rw-r--r--]packages/linux_make/debian/pd-extended.postinst0
2 files changed, 4 insertions, 2 deletions
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
index a7ca87be..a7ca87be 100644..100755
--- a/packages/linux_make/debian/pd-extended.postinst
+++ b/packages/linux_make/debian/pd-extended.postinst