File: postinst

package info (click to toggle)
perl-byacc 2.0-10
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 716 kB
  • sloc: ansic: 7,136; yacc: 2,035; perl: 1,779; makefile: 206; sh: 9
file content (14 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

set -e

if [ $1 != "upgrade" ] ; then

        update-alternatives --install /usr/bin/yacc yacc /usr/bin/pbyacc 30 \
               --slave /usr/share/man/man1/yacc.1.gz yaccman /usr/share/man/man1/pbyacc.1.gz
fi
 
#DEBHELPER#