summaryrefslogtreecommitdiff
path: root/testing/dash/dash.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/dash/dash.install')
-rw-r--r--testing/dash/dash.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/dash/dash.install b/testing/dash/dash.install
new file mode 100644
index 000000000..6b04cba30
--- /dev/null
+++ b/testing/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
+}