slackbuilds_ponce/system/loksh/doinst.sh
Hunter Sezen 329245f397
system/loksh: Added doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2019-02-08 20:54:44 +07:00

8 lines
160 B
Bash

if [ ! -r etc/shells ]; then
touch etc/shells
chmod 644 etc/shells
fi
if ! grep -q /bin/loksh etc/shells ; then
printf %s\\n /bin/loksh >> etc/shells
fi