summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-sgmlcatalog
diff options
context:
space:
mode:
authorjoey <joey>2003-02-12 16:25:44 +0000
committerjoey <joey>2003-02-12 16:25:44 +0000
commit2da6ed90ff536121b387c93385e1cf652f7bd3aa (patch)
tree81bf6cd60fd86a47ad69b5fc046df4577ba85827 /autoscripts/postinst-sgmlcatalog
parentdb1642cfc79170f94104cfb5f51e1ee498d49bbe (diff)
r572: * Added dh_installcatalogs, for sgml (and later xml) catalogs. By
Adam DiCarlo. Closes: #90025
Diffstat (limited to 'autoscripts/postinst-sgmlcatalog')
-rw-r--r--autoscripts/postinst-sgmlcatalog7
1 files changed, 7 insertions, 0 deletions
diff --git a/autoscripts/postinst-sgmlcatalog b/autoscripts/postinst-sgmlcatalog
new file mode 100644
index 0000000..100dee2
--- /dev/null
+++ b/autoscripts/postinst-sgmlcatalog
@@ -0,0 +1,7 @@
+if [ "$1" = "configure" ]; then
+ rm -f #CENTRALCAT#
+ for ordcat in #ORDCATS#; do
+ update-catalog --quiet --add #CENTRALCAT# ${ordcat}
+ done
+ update-catalog --quiet --add --super #CENTRALCAT#
+fi