release.sh changes & fixes
[minix3.git] / external / bsd / byacc / dist / package / debian / postinst
blobca6276de7ae7b0296a325bb320626caa60590582
1 #! /bin/sh
2 # postinst script for byacc
4 set -e
6 if [ $1 != "upgrade" ] ; then
7 update-alternatives \
8 --install /usr/bin/yacc yacc /usr/bin/byacc 80 \
9 --slave /usr/share/man/man1/yacc.1.gz yaccman \
10 /usr/share/man/man1/byacc.1.gz
13 #DEBHELPER#
15 exit 0