File: bison.preinst

package info (click to toggle)
bison 1%3A2.3.dfsg-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,040 kB
  • ctags: 3,864
  • sloc: sh: 53,991; ansic: 20,277; lex: 1,325; cpp: 1,300; yacc: 510; makefile: 230; sed: 111
file content (14 lines) | stat: -rw-r--r-- 249 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# On error, bomb out
set -e

# clean error from previous package.
rm -f /usr/share/man/man1/bison.1

dpkg --assert-working-epoch 2>&- || {
    echo -e "\nYou must upgrade dpkg before installing this package.\n"
    false
}

#DEBHELPER#