]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postrm-sgmlcatalog
r1607: * dh_installcatalogs: in prerm on upgrade, call update-catalog on the
[debhelper.git] / autoscripts / postrm-sgmlcatalog
index 168a6949fba2e36dae816204bf1706438be43ea7..f95d85ba52dd779810e5e8cae07c76c7b35e28e7 100644 (file)
@@ -1,3 +1,3 @@
-if [ "$1" = "purge" ]; then
+if [ "$1" = "purge" ] || [ "$1" = "upgrade" ] ; then
        rm -f #CENTRALCAT# #CENTRALCAT#.old
 fi