aboutsummaryrefslogtreecommitdiff
path: root/extra/oksh/post-install
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-21 13:33:16 +0300
committerCem Keylan <cem@ckyln.com>2020-09-21 13:33:16 +0300
commitd5d871260ea23bc8c7afd32ee5df10dff241b15e (patch)
treefd3f91fd20e0d3086dda5d5e1a7f91ca1aa35050 /extra/oksh/post-install
parentc83dad2a4891e4818dfecd299a7ac7568dd201b3 (diff)
downloadrepository-d5d871260ea23bc8c7afd32ee5df10dff241b15e.tar.gz
oksh: use handmade Makefile instead
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