Bug#647473: question about your patch

2011-11-06 Thread Dave Steele
Fixed patch attached diff -ur sgml-data-2.0.6.orig/debian/changelog sgml-data-2.0.7/debian/changelog --- sgml-data-2.0.6.orig/debian/changelog 2011-11-02 22:14:48.124000413 -0400 +++ sgml-data-2.0.7/debian/changelog 2011-11-02 22:36:55.887998903 -0400 @@ -1,3 +1,11 @@ +sgml-data (2.0.7) unstable; u

Bug#647473: question about your patch

2011-11-06 Thread Holger Levsen
Hi, On Sonntag, 6. November 2011, Dave Steele wrote: > After sgml-data installation, the following files appear under /etc: > > /etc/xml/sgml-data.xml > /etc/xml/sgml-data.xml.bak > /etc/sgml/sgml-data.cat > /etc/sgml/sgml-data.cat.old > > Upon removal, the last 3 remain, and ult

Bug#647473: question about your patch

2011-11-06 Thread Dave Steele
On Sun, Nov 6, 2011 at 6:23 AM, Holger Levsen wrote: > Hi Dave, > ...> + > +if [ "$1" = "remove" ] > +then > +    rm -f /etc/xml/sgml-data.xml* || : > +    rm -f /etc/sgml/sgml-data* || : >  fi > > > This patch seems to remove configuration files unconditionally on "remove". > This seems wrong to

Bug#647473: question about your patch

2011-11-06 Thread Holger Levsen
Hi Dave, diff -ur sgml-data-2.0.6.orig/debian/postrm sgml-data-2.0.7/debian/postrm --- sgml-data-2.0.6.orig/debian/postrm 2011-11-02 22:14:48.124000413 -0400 +++ sgml-data-2.0.7/debian/postrm 2011-11-02 22:16:27.312000538 -0400 @@ -4,8 +4,14 @@ if [ "$1" = "purge" ] then -rmdir -p -