File: postinst

package info (click to toggle)
byacc 20050813-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 740 kB
  • ctags: 943
  • sloc: ansic: 6,051; sh: 2,838; yacc: 1,927; makefile: 150
file content (15 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh
# postinst script for byacc

set -e

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

#DEBHELPER#

exit 0