summaryrefslogtreecommitdiffstats
path: root/abs/extra/docbook-dsssl/docbook-dsssl.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-15 20:50:44 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-15 20:50:44 (GMT)
commit85af7820ddf206711d890bdbd707c396824aac15 (patch)
tree8f5027cff84c69e8c6fec299b63e1ed87afc3cc3 /abs/extra/docbook-dsssl/docbook-dsssl.install
parenta593241481b9b2c8e2cc74b2587f73d0265670eb (diff)
downloadlinhes_pkgbuild-85af7820ddf206711d890bdbd707c396824aac15.zip
linhes_pkgbuild-85af7820ddf206711d890bdbd707c396824aac15.tar.gz
linhes_pkgbuild-85af7820ddf206711d890bdbd707c396824aac15.tar.bz2
docbook-sgml31: initial inclusion. dep of dockbook-utils
Diffstat (limited to 'abs/extra/docbook-dsssl/docbook-dsssl.install')
-rw-r--r--abs/extra/docbook-dsssl/docbook-dsssl.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/extra/docbook-dsssl/docbook-dsssl.install b/abs/extra/docbook-dsssl/docbook-dsssl.install
new file mode 100644
index 0000000..c81b826
--- /dev/null
+++ b/abs/extra/docbook-dsssl/docbook-dsssl.install
@@ -0,0 +1,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
+}