1 2 3 4 5 6 7 8 9
post_install() { grep -x /bin/mksh /etc/shells >/dev/null || echo /bin/mksh >>/etc/shells } post_remove() { sed -i "/^\/bin\/mksh$/d" /etc/shells } # vim:set ts=2 sw=2 et: