File: prerm

package info (click to toggle)
docbook-dsssl 1.76-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,964 kB
  • ctags: 32
  • sloc: perl: 485; makefile: 81; sh: 31
file content (20 lines) | stat: -rw-r--r-- 364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

PACKAGE=docbook-dsssl
CENTRALCAT=/etc/sgml/${PACKAGE}.cat

set -e

if [ "$1" = remove ]; then
    update-catalog --quiet --remove --super ${CENTRALCAT}
elif [ "$1" = purge ]; then
    rm -f ${CENTRALCAT} ${CENTRALCAT}.old
elif [ "$1" = upgrade ]; then
    :
    # downgrade handling?
fi

# automatically generated debhelper commands
#DEBHELPER#

exit 0