slackbuilds/system/posh/doinst.sh

9 lines
150 B
Bash

if [ ! -r etc/shells ]; then
touch etc/shells
chmod 644 etc/shells
fi
if ! grep -q /bin/posh etc/shells ; then
echo /bin/posh >> etc/shells
fi