From f06be0105e98508c18cdfb50e0818b4fe4679d83 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 18 Sep 2011 22:12:49 +0000 Subject: added update-alternatives support svn path=/trunk/; revision=15301 --- packages/linux_make/debian/pd-extended.postinst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/linux_make/debian/pd-extended.postinst') 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 -- cgit v1.2.1