File: preinst

package info (click to toggle)
zlib 1%3A1.1.1-0.1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 624 kB
  • ctags: 1,038
  • sloc: ansic: 5,845; cpp: 509; asm: 361; makefile: 232; sh: 125
file content (8 lines) | stat: -rw-r--r-- 141 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
#!/bin/sh

set -e

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