summaryrefslogtreecommitdiffstats
path: root/abs/extra/docbook-dsssl/docbook-dsssl.install
blob: c81b82695b0ee31d8d97c7bbcf5ca1a1850d6fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
post_install() {
 /usr/bin/install-catalog --add \
                      /etc/sgml/dsssl-docbook-stylesheets.cat \
                      /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog
 
 /usr/bin/install-catalog --add \
                     /etc/sgml/sgml-docbook.cat \
                     /etc/sgml/dsssl-docbook-stylesheets.cat

}

post_upgrade() {
  post_install $1
}

post_remove() {
  /usr/bin/install-catalog --remove \
                      /etc/sgml/dsssl-docbook-stylesheets.cat \
                      /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog
  
  /usr/bin/install-catalog --remove \
                     /etc/sgml/sgml-docbook.cat \
                     /etc/sgml/dsssl-docbook-stylesheets.cat
}