[xml/sgml-pkgs] Bug#576445: [patch]: sgml-base: Fails to purge
Michael Banck
mbanck at debian.org
Fri Jul 16 20:35:50 UTC 2010
On Mon, Apr 12, 2010 at 05:39:07PM +0900, Hideki Yamane wrote:
> Hi,
>
> sgml-base package creates files under /etc in its postinst script.
AFAICT, sgml-base creates those in the preinst:
if [ "$1" = "install" -o "$1" = "upgrade" ]
then
##
------------------------------------------------------------------
## create /var/lib/sgml-base
if [ ! -d /var/lib/sgml-base ]
then
mkdir /var/lib/sgml-base 2>/dev/null
fi
##
------------------------------------------------------------------
## create /etc/sgml
if [ ! -d /etc/sgml ]
then
mkdir /etc/sgml 2>/dev/null
fi
If I just dpkg --unpack sgml-base*deb, and then purge it, I do not get
the reported error. What am I missing?
Michael
More information about the debian-xml-sgml-pkgs
mailing list