File: preinst

package info (click to toggle)
doc-linux-hr 20000416
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 1,116 kB
  • ctags: 67
  • sloc: makefile: 52; sh: 7
file content (12 lines) | stat: -rwxr-xr-x 274 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

if [ "$1" = upgrade -a -n "$2" ] && dpkg --compare-versions "$2" eq 99.04-1
then
  # Version 99.04-1 erroneously removed `dlh' instead of `doc-linux-hr'.
  if command -v install-docs >/dev/null 2>&1
  then
    install-docs -r doc-linux-hr
  fi
fi

#DEBHELPER#