slackbuilds_ponce/system/oksh/doinst.sh
Hunter Sezen c6602e212c system/oksh: Added (Portable OpenBSD ksh)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2019-12-31 17:13:15 -06:00

8 lines
158 B
Bash

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
fi