File: postinst

package info (click to toggle)
btyacc 3.0-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 456 kB
  • ctags: 550
  • sloc: ansic: 6,562; yacc: 1,902; makefile: 103; sh: 13
file content (16 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

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

fi

#DEBHELPER#

exit 0