summaryrefslogtreecommitdiff
path: root/system/ksh-openbsd/doinst.sh
diff options
context:
space:
mode:
authorDaniel LEVAI <leva@ecentrum.hu>2012-11-19 14:26:37 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-11-19 16:52:08 -0600
commitf5e7485b6c8bfe3ea57ba4f5334fb963353e91d7 (patch)
treefde24af9290c0c090ef2af186340b63ba4161985 /system/ksh-openbsd/doinst.sh
parentfb80020f10a2063b7273ffe8e4d18a1caed70028 (diff)
downloadslackbuilds-f5e7485b6c8bfe3ea57ba4f5334fb963353e91d7.tar.gz
system/ksh-openbsd: Added (OpenBSD's pdksh ported to Linux)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/ksh-openbsd/doinst.sh')
-rw-r--r--system/ksh-openbsd/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/ksh-openbsd/doinst.sh b/system/ksh-openbsd/doinst.sh
new file mode 100644
index 0000000000..63941d1bac
--- /dev/null
+++ b/system/ksh-openbsd/doinst.sh
@@ -0,0 +1,4 @@
+if ! grep -q '/bin/pdksh' etc/shells ; then
+ printf "/bin/pdksh\n" >> etc/shells ;
+fi
+