diff options
author | root <root@rshg054.dnsready.net> | 2011-08-16 23:14:31 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-16 23:14:31 +0000 |
commit | 68b7938bb87c6e91d54e4f35f0223c7237fa53e1 (patch) | |
tree | c958be233dadd94e64aee91d88f18f1638817b6f /core/dash/dash.install | |
parent | 3abfc1ebef5936241997dd882938581c91743ee9 (diff) |
Tue Aug 16 23:14:31 UTC 2011
Diffstat (limited to 'core/dash/dash.install')
-rw-r--r-- | core/dash/dash.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/dash/dash.install b/core/dash/dash.install new file mode 100644 index 000000000..6b04cba30 --- /dev/null +++ b/core/dash/dash.install @@ -0,0 +1,11 @@ +post_install() { + grep -q '/bin/dash' etc/shells || echo '/bin/dash' >> etc/shells +} + +post_upgrade() { + post_install +} + +pre_remove() { + sed -i '/^\/bin\/dash/d' etc/shells +} |