diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-10 20:49:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-10 20:50:26 +0700 |
commit | 3a4c44101c4d90a5db4e7e6ec1d8ae3b418363be (patch) | |
tree | ee06b310e7a8f31613dab1ab2bbf27eac3b07a79 /system/ksh-openbsd/doinst.sh | |
parent | d80298d80370c2c670a9e5182c5bc4eb40c4a0e0 (diff) |
system/ksh-openbsd: Updated for version 20180115.
This reverts commit 06a99f4aa15c8cfec1fa88e58579d7760bd548f4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ksh-openbsd/doinst.sh')
-rw-r--r-- | system/ksh-openbsd/doinst.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/system/ksh-openbsd/doinst.sh b/system/ksh-openbsd/doinst.sh index de374ed98deb3..1e26ea54a4c1c 100644 --- a/system/ksh-openbsd/doinst.sh +++ b/system/ksh-openbsd/doinst.sh @@ -1,8 +1,3 @@ -if [ ! -r etc/shells ]; then - touch etc/shells - chmod 644 etc/shells -fi - -if ! grep -q /bin/oksh etc/shells ; then - printf %s\\n /bin/oksh >> etc/shells +if ! grep -q '/bin/pdksh' etc/shells ; then + printf "/bin/pdksh\n" >> etc/shells ; fi |