diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-09-20 20:56:00 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-09-20 20:56:00 +0000 |
commit | 5f8b18599f3b4df4010e41527036ec0e880c7858 (patch) | |
tree | f20a10e854f6ae9580214afce016f5e4ffaa3fc7 /packages | |
parent | c54deb49904ebe377846e174af14b99325bbc170 (diff) |
make pd-extended support the 'pdextended' command via /etc/alternatives to ease the transition to the upcoming 'pdextended' package
svn path=/trunk/; revision=15320
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/linux_make/debian/pd-extended.postinst | 6 | ||||
-rwxr-xr-x | packages/linux_make/debian/pd-extended.prerm | 1 |
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 |