Re: Problems found by piuparts
* Anand Kumria [Thu, 23 Feb 2006 02:26:43 +1100]:
Hi,
> On Mon, Feb 20, 2006 at 08:24:53AM +0200, Lars Wirzenius wrote:
> > * Creating /usr/local/lib/foo in postinst, but not removing it
> > in postrm.
> I don't think that is a problem at all; the administrator ought to feel
> free to be able to put things in (say) /usr/local/lib/firmware and not
> have to worry that a full purge / install of the package which happened
> to create that directory will wipe out things there.
Correct, so one would put in foo.postrm:
rmdir --ignore-fail-on-non-empty /usr/local/lib/foo
Cheers,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Everything you read in newspapers is absolutely true, except for that
rare story of which you happen to have first-hand knowledge.
-- Erwin Knoll
Reply to: