aboutsummaryrefslogtreecommitdiff
path: root/extra/oksh/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/oksh/post-install')
-rwxr-xr-xextra/oksh/post-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/oksh/post-install b/extra/oksh/post-install
new file mode 100755
index 00000000..10372d09
--- /dev/null
+++ b/extra/oksh/post-install
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+grep -qFw /usr/bin/ksh /etc/shells ||
+ printf /usr/bin/ksh\\n >>/etc/shells