diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-09-18 22:12:49 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-09-18 22:12:49 +0000 |
commit | f06be0105e98508c18cdfb50e0818b4fe4679d83 (patch) | |
tree | a71980751a852c5dd2bb2fb152a729e21eac9d18 /packages/linux_make/debian/pd-extended.postinst | |
parent | d785f343bb97bdbfc40cf424b43e13618c6e204a (diff) |
added update-alternatives support
svn path=/trunk/; revision=15301
Diffstat (limited to 'packages/linux_make/debian/pd-extended.postinst')
-rw-r--r-- | packages/linux_make/debian/pd-extended.postinst | 7 |
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 |