summaryrefslogtreecommitdiff
path: root/core/dash/dash.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-16 23:14:31 +0000
committerroot <root@rshg054.dnsready.net>2011-08-16 23:14:31 +0000
commit68b7938bb87c6e91d54e4f35f0223c7237fa53e1 (patch)
treec958be233dadd94e64aee91d88f18f1638817b6f /core/dash/dash.install
parent3abfc1ebef5936241997dd882938581c91743ee9 (diff)
Tue Aug 16 23:14:31 UTC 2011
Diffstat (limited to 'core/dash/dash.install')
-rw-r--r--core/dash/dash.install11
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
+}