File: preinst

package info (click to toggle)
doc-linux-hr 19991107
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,104 kB
  • ctags: 58
  • sloc: makefile: 52; sh: 10
file content (15 lines) | stat: -rwxr-xr-x 298 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

if [ "$1" = upgrade -a -n "$2" ]
then
  if 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
fi

#DEBHELPER#