summaryrefslogtreecommitdiff
path: root/community/mksh/mksh.install
blob: f096a2b661776a7245b5e1bce60f051a316da90a (plain)
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: