HEX
Server: Apache
System: Linux pdx1-shared-a2-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: dh_hwg2wc (6369923)
PHP: 8.1.33
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