aboutsummaryrefslogtreecommitdiff
path: root/packages/linux_make/debian/pd-extended.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux_make/debian/pd-extended.postinst')
-rw-r--r--packages/linux_make/debian/pd-extended.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/linux_make/debian/pd-extended.postinst b/packages/linux_make/debian/pd-extended.postinst
index 23f81787..a7ca87be 100644
--- a/packages/linux_make/debian/pd-extended.postinst
+++ b/packages/linux_make/debian/pd-extended.postinst
@@ -17,3 +17,10 @@ fi
if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then
update-mime-database /usr/share/mime
fi
+
+if [ "$1" = "configure" ] || [ "$1" = "upgrade" ]; then
+ update-alternatives --install /usr/bin/pd pd \
+ /usr/bin/pd-extended 60 \
+ --slave /usr/share/man/man1/pd.1.gz pd.1.gz \
+ /usr/share/man/man1/pd-extended.1.gz
+fi