diff options
Diffstat (limited to 'community/mksh/mksh.install')
-rw-r--r-- | community/mksh/mksh.install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/mksh/mksh.install b/community/mksh/mksh.install new file mode 100644 index 000000000..3e5f2a924 --- /dev/null +++ b/community/mksh/mksh.install @@ -0,0 +1,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: |