aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackages/linux_make/debian/pd-extended.postinst6
-rwxr-xr-xpackages/linux_make/debian/pd-extended.prerm1
2 files changed, 6 insertions, 1 deletions
diff --git a/packages/linux_make/debian/pd-extended.postinst b/packages/linux_make/debian/pd-extended.postinst
index a7ca87be..d5afa48e 100755
--- a/packages/linux_make/debian/pd-extended.postinst
+++ b/packages/linux_make/debian/pd-extended.postinst
@@ -20,7 +20,11 @@ fi
if [ "$1" = "configure" ] || [ "$1" = "upgrade" ]; then
update-alternatives --install /usr/bin/pd pd \
- /usr/bin/pd-extended 60 \
+ /usr/bin/pd-extended 101 \
--slave /usr/share/man/man1/pd.1.gz pd.1.gz \
/usr/share/man/man1/pd-extended.1.gz
+ update-alternatives --install /usr/bin/pdextended pdextended \
+ /usr/bin/pd-extended 60
+ --slave /usr/share/man/man1/pdextended.1.gz pdextended.1.gz \
+ /usr/share/man/man1/pd-extended.1.gz
fi
diff --git a/packages/linux_make/debian/pd-extended.prerm b/packages/linux_make/debian/pd-extended.prerm
index 7d252882..ecc26dbe 100755
--- a/packages/linux_make/debian/pd-extended.prerm
+++ b/packages/linux_make/debian/pd-extended.prerm
@@ -2,4 +2,5 @@
if [ "$1" != "upgrade" ]; then
update-alternatives --remove pd /usr/bin/pd-extended
+ update-alternatives --remove pdextended /usr/bin/pd-extended
fi