summaryrefslogtreecommitdiffstats
path: root/system/posh/doinst.sh
blob: 69106867199810a4bb46979660e83b9100faf563 (plain)
1
2
3
4
5
6
7
8
if [ ! -r etc/shells ]; then
  touch etc/shells
  chmod 644 etc/shells
fi

if ! grep -q /bin/posh etc/shells ; then
  printf %s\\n /bin/posh >> etc/shells
fi