updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / docbook-dsssl / docbook-dsssl.install
blobd98bb2423244d71f01912e182656afb7867249e0
1 post_install() {
2  /usr/bin/install-catalog --add \
3                       /etc/sgml/dsssl-docbook-stylesheets.cat \
4                       /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog
5  
6  /usr/bin/install-catalog --add \
7                      /etc/sgml/sgml-docbook.cat \
8                      /etc/sgml/dsssl-docbook-stylesheets.cat
12 post_upgrade() {
13   post_install $1
16 post_remove() {
17   /usr/bin/install-catalog --remove \
18                       /etc/sgml/dsssl-docbook-stylesheets.cat \
19                       /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog
20   
21   /usr/bin/install-catalog --remove \
22                      /etc/sgml/sgml-docbook.cat \
23                      /etc/sgml/dsssl-docbook-stylesheets.cat
26 op=$1
27 shift
28 $op $*