summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-07-12 22:53:35 -1000
committerSam Bingner <sam@bingner.com>2019-07-12 22:53:35 -1000
commitaaaf7040030250a04330f14ac7f89460f3efeb9b (patch)
treea4a7cfedbae11c53bc7e53149c4f82d5895c9fdd
parent6a336ff55fd9e31188a04f8ee848309653135219 (diff)
zsh should not be doing this - only bash
-rwxr-xr-xdata/zsh/_metadata/postinst1
-rwxr-xr-xdata/zsh/_metadata/prerm1
2 files changed, 0 insertions, 2 deletions
diff --git a/data/zsh/_metadata/postinst b/data/zsh/_metadata/postinst
index 9787bdb5a..ff41dc11e 100755
--- a/data/zsh/_metadata/postinst
+++ b/data/zsh/_metadata/postinst
@@ -8,7 +8,6 @@ fi
case "$1" in
abort-remove|configure)
- dpkg-divert --quiet --local --divert /bin/sh.distrib /bin/sh
update-alternatives --quiet --install /bin/sh sh /bin/zsh 60 || true
;;
*)
diff --git a/data/zsh/_metadata/prerm b/data/zsh/_metadata/prerm
index bf7fadd2e..2fbcc5a4d 100755
--- a/data/zsh/_metadata/prerm
+++ b/data/zsh/_metadata/prerm
@@ -8,7 +8,6 @@ case "$1" in
remove|deconfigure)
update-alternatives --quiet --remove sh /bin/zsh
- dpkg-divert --quiet --remove /bin/sh
if [ ! -e /bin/sh ]; then
echo There would be no shell!
ln -s zsh /bin/sh