pkg://mksh_24.0-1_arm.deb:145736/postinst
info downloads
#! /bin/sh
# postinst script for mksh
#
# see: dh_installdeb(1)
set -e
case "$1" in
configure)
update-alternatives --install /bin/ksh ksh /bin/mksh 12 \
--slave /usr/bin/ksh usr.bin.ksh /bin/mksh \
--slave /usr/share/man/man1/ksh.1.gz ksh.1.gz \
/usr/share/man/man1/mksh.1.gz
add-shell /bin/mksh
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument '$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
exit 0