File: postinst

package info (click to toggle)
sgmltools-2 2.0.2.dummy-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 28 kB
  • sloc: makefile: 34; sh: 14
file content (16 lines) | stat: -rw-r--r-- 481 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh -e

PKG=sgmltools-2

 if [ "$1" = "configure" ]; then
  if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ]; then
   ln -sf ../share/doc/$PKG /usr/doc/$PKG
  fi
  # remove nasty old circular catalog
  if [ -x /usr/sbin/update-catalog ]; then
    update-catalog --remove --super /usr/lib/sgml/catalog
  fi
  # remove old ordinary catalog in the super catalog
    update-catalog --remove --super /usr/lib/sgml/stylesheet/dsssl/sgmltools/sgmltools.cat 
 fi