PKGBUILDs/community/mksh/mksh.install
2013-03-13 00:33:21 +00:00

13 lines
218 B
Text

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: