diff options
Diffstat (limited to 'autoscripts')
-rw-r--r-- | autoscripts/postinst-sgmlcatalog | 7 | ||||
-rw-r--r-- | autoscripts/postrm-sgmlcatalog | 3 | ||||
-rw-r--r-- | autoscripts/prerm-sgmlcatalog | 3 |
3 files changed, 13 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 diff --git a/autoscripts/postrm-sgmlcatalog b/autoscripts/postrm-sgmlcatalog new file mode 100644 index 00000000..168a6949 --- /dev/null +++ b/autoscripts/postrm-sgmlcatalog @@ -0,0 +1,3 @@ +if [ "$1" = "purge" ]; then + rm -f #CENTRALCAT# #CENTRALCAT#.old +fi diff --git a/autoscripts/prerm-sgmlcatalog b/autoscripts/prerm-sgmlcatalog new file mode 100644 index 00000000..cdc96e02 --- /dev/null +++ b/autoscripts/prerm-sgmlcatalog @@ -0,0 +1,3 @@ +if [ "$1" = "remove" ]; then + update-catalog --quiet --remove --super #CENTRALCAT# +fi |