File: doc-linux-it.prerm

package info (click to toggle)
doc-linux-it 2003.12-1.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 6,592 kB
  • ctags: 10
  • sloc: perl: 87; makefile: 61; sh: 59
file content (23 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh -e

#DEBHELPER#

if [ \( "$1" = "upgrade" -o "$1" = "remove" \) \
     -a -L /usr/doc/doc-linux-it ]; then
  rm -f /usr/doc/doc-linux-it
fi
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/HOWTO ]; then
  rm -f /usr/doc/HOWTO
fi

if [ "$1" = remove -o "$1" = upgrade ] && \
   command -v install-docs >/dev/null 2>&1; then
        install-docs -r doc-linux-it
fi

if [ "$1" = remove -o "$1" = upgrade ] && [ -x /usr/sbin/dhelp_parse ]; then
        /usr/sbin/dhelp_parse -d /usr/share/doc/HOWTO/it-html
fi

exit 0