summaryrefslogtreecommitdiff
path: root/community/mksh/mksh.install
blob: 859fa51c2c38ef2b69c9a3f6dd5cc2164d8102b7 (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: