diff options
Diffstat (limited to 'hilbish.install')
-rw-r--r-- | hilbish.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hilbish.install b/hilbish.install new file mode 100644 index 000000000000..cbb25de224ba --- /dev/null +++ b/hilbish.install @@ -0,0 +1,11 @@ +post_install() { + grep -qe '^/usr/bin/hilbish$' /etc/shells || echo '/usr/bin/hilbish' >> /etc/shells +} + +post_upgrade() { + post_install +} + +pre_remove() { + sed -ri -e '\|^/usr/bin/hilbish$|d' /etc/shells +}
\ No newline at end of file |