summaryrefslogtreecommitdiffstats
path: root/abs/extra/docbook-dsssl/docbook-dsssl.install
diff options
context:
space:
mode:
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
+}