]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-sgmlcatalog
r572: * Added dh_installcatalogs, for sgml (and later xml) catalogs. By
[debhelper.git] / autoscripts / postinst-sgmlcatalog
diff --git a/autoscripts/postinst-sgmlcatalog b/autoscripts/postinst-sgmlcatalog
new file mode 100644 (file)
index 0000000..100dee2
--- /dev/null
@@ -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