Re: dpkg-statoverride sucks
- To: Drew Parsons <dparsons@emerall.com>, debian-mentors@lists.debian.org, Hamish Moffatt <hamish@debian.org>, debian-dpkg@lists.debian.org
- Subject: Re: dpkg-statoverride sucks
- From: Joey Hess <joeyh@debian.org>
- Date: Thu, 1 Feb 2001 11:52:31 -0800
- Message-id: <[🔎] 20010201115231.C974@silk.kitenet.net>
- In-reply-to: <20010131213149.A1857@strider>; from dparsons@emerall.com on Wed, Jan 31, 2001 at 09:31:50PM +1100
- References: <20010127000754.A19801@zaz.com.br> <20010127023247.A12939@sumpf.cyrius.com> <20010127160621.A8726@silly.cloud.net.au> <20010127031049.A14479@zaz.com.br> <20010127141636.A889@sumpf.cyrius.com> <20010127235936.D23157@polya> <20010130211247.A18611@strider> <20010130120216.H7201@polya> <20010131082531.A29869@silly.cloud.net.au> <20010131213149.A1857@strider>
Drew Parsons wrote:
> Anyway, I tried also using dpkg-statoverride in postinst to set the mode for
> /usr/lib/games/mirrormagic, not just /var/lib... and do get the same problem:
>
> warning: --update given but /usr/lib/games/mirrormagic does not exist
>
> So does that mean this part of the problem is a bug in dpkg-statoverride?
Clearly, yes:
if ($doupdate) {
if (not -f $file) {
print STDERR "warning: --update given but $file does not exist\n";
If statoverride is meant to work on directories, that test is clearly wrong.
--
see shy jo
Reply to: