File: postinst

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 (27 lines) | stat: -rw-r--r-- 572 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
25
26
27
#! /bin/sh
# postinst script for debiandoc2dbxml
#
# see: dh_installdeb(1)

set -e

## ----------------------------------------------------------------------
## Install SGML catalog entries
PACKAGE=debiandoc2dbxml
CENTRALCAT=/etc/sgml/debiandoc-xml.cat
ORDCAT="${PACKAGE}/catalog"
if [ "$1" = "configure" ]
then
    update-catalog --quiet --add ${CENTRALCAT} /usr/share/sgml/${ORDCAT}

    update-catalog --quiet --add --super ${CENTRALCAT}
fi

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

#DEBHELPER#

exit 0