# Since bison can function in yacc mode, we'll add a shell script to
# do this if you didn't install Berkeley yacc:
if [ ! -r usr/bin/yacc ]; then
  echo '# emulate yacc' > usr/bin/yacc
  echo 'bison -y $*' >> usr/bin/yacc
  chown root.bin usr/bin/yacc
  chmod 755 usr/bin/yacc
fi
( cd usr/man/preformat/cat1 ; rm -rf bison.1.gz )
( cd usr/man/preformat/cat1 ; ln -sf /cdrom/live/usr/man/preformat/cat1/bison.1.gz bison.1.gz )
( cd usr/info ; rm -rf bison.info-2.gz )
( cd usr/info ; ln -sf /cdrom/live/usr/info/bison.info-2.gz bison.info-2.gz )
( cd usr/info ; rm -rf bison.info-3.gz )
( cd usr/info ; ln -sf /cdrom/live/usr/info/bison.info-3.gz bison.info-3.gz )
( cd usr/info ; rm -rf bison.info-4.gz )
( cd usr/info ; ln -sf /cdrom/live/usr/info/bison.info-4.gz bison.info-4.gz )
( cd usr/info ; rm -rf bison.info.gz )
( cd usr/info ; ln -sf /cdrom/live/usr/info/bison.info.gz bison.info.gz )
( cd usr/info ; rm -rf bison.info-1.gz )
( cd usr/info ; ln -sf /cdrom/live/usr/info/bison.info-1.gz bison.info-1.gz )
( cd usr/lib ; rm -rf bison.hairy )
( cd usr/lib ; ln -sf /cdrom/live/usr/lib/bison.hairy bison.hairy )
( cd usr/lib ; rm -rf bison.simple )
( cd usr/lib ; ln -sf /cdrom/live/usr/lib/bison.simple bison.simple )
( cd usr/bin ; rm -rf bison )
( cd usr/bin ; ln -sf /cdrom/live/usr/bin/bison bison )
