[xml/sgml-commit] [xml-core] 03/07: Import Debian version 0.11
Mattia Rizzolo
mattia at debian.org
Fri Sep 30 16:12:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository xml-core.
commit cdf1f28fd4595dc059bd2856abe153e51e3f575b
Author: Daniel Leidert (dale) <daniel.leidert at wgdd.de>
Date: Mon Apr 16 19:17:50 2007 +0200
Import Debian version 0.11
---
debian/changelog | 8 ++++++++
debian/xml-core.postrm | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0b6d956..b7dccac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+xml-core (0.11) unstable; urgency=low
+
+ [ Daniel Leidert ]
+ * debian/xml-core.postrm: Only try to remove /var/lib/xml-core, if it
+ exists (closes: #358364). Thanks to Kurt Roecks, who catched this issue.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de> Mon, 16 Apr 2007 19:17:50 +0200
+
xml-core (0.10) unstable; urgency=low
[ Daniel Leidert ]
diff --git a/debian/xml-core.postrm b/debian/xml-core.postrm
index 351f26e..ba5fc72 100644
--- a/debian/xml-core.postrm
+++ b/debian/xml-core.postrm
@@ -16,7 +16,7 @@ then
## ------------------------------------------------------------------
## remove /var/lib/xml-core
- rmdir --ignore-fail-on-non-empty /var/lib/xml-core
+ [ -d /var/lib/xml-core ] && rmdir --ignore-fail-on-non-empty /var/lib/xml-core
## ------------------------------------------------------------------
## remove root XML catalog
@@ -25,7 +25,7 @@ then
## ------------------------------------------------------------------
## remove /etc/xml
- rmdir --ignore-fail-on-non-empty /etc/xml
+ [ -d /var/lib/xml-core ] && rmdir --ignore-fail-on-non-empty /etc/xml
## ------------------------------------------------------------------
## restore legacy /etc/xml/catalog
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/xml-core.git
More information about the debian-xml-sgml-commit
mailing list