diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2012-03-03 13:04:33 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2012-03-03 13:04:33 +0100 |
commit | c5dfca6a616abf44ef9c4053d5643229bdc5d765 (patch) | |
tree | 4e595481def5bebac0c167318e0139c3f445a7e6 | |
parent | 71683958c6a98792f4999d6a3ab6ecd3fefad4b3 (diff) | |
download | zsh-c5dfca6a616abf44ef9c4053d5643229bdc5d765.tar.gz zsh-c5dfca6a616abf44ef9c4053d5643229bdc5d765.zip |
No more offers a ksh alternative due to incomplete ksh emulation (Closes: 659969)
-rw-r--r-- | debian/postinst | 5 | ||||
-rw-r--r-- | debian/prerm | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/debian/postinst b/debian/postinst index b4402abab..5216deb7b 100644 --- a/debian/postinst +++ b/debian/postinst @@ -21,13 +21,12 @@ esac if test -x /usr/bin/update-menus ; then update-menus ; fi update-alternatives --remove zsh /usr/bin/zsh +update-alternatives --remove ksh /usr/bin/zsh +update-alternatives --remove ksh /bin/zsh4 update-alternatives --install /bin/zsh zsh /bin/zsh4 50 \ --slave /usr/bin/zsh zsh-usrbin /bin/zsh4 update-alternatives --install /bin/rzsh rzsh /bin/zsh4 50 \ --slave /usr/share/man/man1/rzsh.1.gz rzsh.1.gz /usr/share/man/man1/zsh.1.gz -update-alternatives --install /bin/ksh ksh /bin/zsh4 5 \ - --slave /usr/bin/ksh usr.bin.ksh /bin/zsh4 \ - --slave /usr/share/man/man1/ksh.1.gz ksh.1.gz /usr/share/man/man1/zsh.1.gz mkdir -m2775 -p /usr/local/share/zsh/site-functions && chown root:staff \ /usr/local/share/zsh/site-functions || true diff --git a/debian/prerm b/debian/prerm index 88bf16954..e45371592 100644 --- a/debian/prerm +++ b/debian/prerm @@ -6,7 +6,6 @@ case "$1" in (remove|deconfigure) update-alternatives --remove zsh /bin/zsh4 update-alternatives --remove rzsh /bin/zsh4 - update-alternatives --remove ksh /bin/zsh4 rmdir /usr/local/share/zsh/site-functions || true rmdir /usr/local/share/zsh || true ;; |