File: prerm

package info (click to toggle)
debiandoc2dbxml 0.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 104 kB
  • ctags: 12
  • sloc: xml: 386; sh: 218; makefile: 66
file content (24 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/sh
# prerm script for debiandoc2dbxml
#
# see: dh_installdeb(1)

set -e

## ----------------------------------------------------------------------
## Remove SGML catalog entries

CENTRALCAT=/etc/sgml/debiandoc-xml.cat
if [ "$1" = "remove" -o "$1" = "upgrade" ]
then
    update-catalog --quiet --remove --super ${CENTRALCAT}
fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0