summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postrm-sgmlcatalog2
-rw-r--r--autoscripts/prerm-sgmlcatalog2
2 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/postrm-sgmlcatalog b/autoscripts/postrm-sgmlcatalog
index f95d85b..168a694 100644
--- a/autoscripts/postrm-sgmlcatalog
+++ b/autoscripts/postrm-sgmlcatalog
@@ -1,3 +1,3 @@
-if [ "$1" = "purge" ] || [ "$1" = "upgrade" ] ; then
+if [ "$1" = "purge" ]; then
rm -f #CENTRALCAT# #CENTRALCAT#.old
fi
diff --git a/autoscripts/prerm-sgmlcatalog b/autoscripts/prerm-sgmlcatalog
index cdc96e0..cf1db21 100644
--- a/autoscripts/prerm-sgmlcatalog
+++ b/autoscripts/prerm-sgmlcatalog
@@ -1,3 +1,3 @@
-if [ "$1" = "remove" ]; then
+if [ "$1" = "remove" ] || [ "$1" = "uograde" ]; then
update-catalog --quiet --remove --super #CENTRALCAT#
fi