summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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