aboutsummaryrefslogtreecommitdiff
path: root/system/yash/doinst.sh
blob: 0c3b7b70e934fbc044c6db7d92a13fee7dd8bb4c (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/yash etc/shells ; then
  printf %s\\n /bin/yash >> etc/shells
fi