HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/bison.postinst
#!/bin/sh

set -e

case "$1" in
    configure|abort-remove|abort-deconfigure)
        update-alternatives --install /usr/bin/yacc yacc \
	    /usr/bin/bison.yacc 100 \
	    --slave /usr/share/man/man1/yacc.1.gz yaccman \
	    /usr/share/man/man1/bison.yacc.1.gz
        [ -e /usr/bin/yacc ] || update-alternatives --auto yacc
	;;

    abort-upgrade)
	# Nothing to undo
	:;
	;;

    *)
	echo "$0: Undocumented call: \"$@\"" >&2
	exit 1
	;;
esac