Re: changing location of conffiles
From: Joey Hess <email@example.com>
Subject: Re: changing location of conffiles
Date: Mon, 27 Nov 2000 16:17:39 -0800
> In your preinst, if the new conffile does not exist, and the old one
> does (you can throw in a version check too), move the old file to the
> new location.
But, at the stage of preinst (i.e. before expanding a package)
the new location /etc/foo does not exist yet ...???
And one more question; when we use /etc/foo as a location of
the conffiles then, at purging foo, dpkg says
dpkg - warning: while removing foo, directory `/etc/foo' not
empty so not removed.
Purging configuration files for foo ...
In a sence, this seems reasonable but we should remove /etc/foo.
Of course we can do it in a postrm but the above message will be
still displayed. Isn't this a problem?
Best Regards, 2000.11.28
Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <firstname.lastname@example.org>
Department of Math., Tokushima Univ.