File: postinst

package info (click to toggle)
byacc 20140715-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 5,236 kB
  • sloc: ansic: 71,912; yacc: 4,322; sh: 3,394; makefile: 249
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