[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-statoverride sucks

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: