#! /bin/sh
# postinst script for byacc2

set -e

if [ $1 != "upgrade" ] ; then
	update-alternatives \
		--install /usr/bin/yacc yacc /usr/bin/byacc2 80 \
		--slave /usr/share/man/man1/yacc.1.gz yaccman \
			/usr/share/man/man1/byacc2.1.gz
fi

#DEBHELPER#

exit 0
