File: postinst

package info (click to toggle)
byacc 20120115-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,580 kB
  • sloc: ansic: 10,242; sh: 3,197; yacc: 3,196; makefile: 259
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