summaryrefslogtreecommitdiff
path: root/community/mksh/mksh.install
blob: 3e5f2a9246a731a9ff03a00c9ab72fd0ca2b23fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
  grep -x /bin/mksh /etc/shells >/dev/null || echo /bin/mksh >>/etc/shells
}

post_upgrade() {
		  post_install $1
}

post_remove() {
  sed -i "/^\/bin\/mksh$/d" /etc/shells
}

# vim:set ts=2 sw=2 et: