summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-sgmlcatalog
diff options
context:
space:
mode:
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 00000000..100dee2f
--- /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