summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorjoey <joey>2003-09-21 22:58:13 +0000
committerjoey <joey>2003-09-21 22:58:13 +0000
commit87c9d162920985cd2ee71b56d9a38aa5bda85093 (patch)
tree0eee709bb342390c528113209ed8afae8790e9ca /autoscripts
parent8962d748623d6d893cf0f38ff9090cdf57833b9f (diff)
r1609: * Only list dh_installman once in example rules.indep. Closes: #211567
* Really fix the prerm-sgmlcatalog, not the postrm. Closes: #209131
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