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

Re: Bug#75868: man-db: Does man-db responsible for /var/cache/man? (fwd)



On Wed, Nov 01, 2000 at 02:12:13AM +0200, Shaul Karl wrote:
> > > [10:12:54 /tmp]$ dpkg -S /var/cache/man
> > > dpkg: /var/cache/man not found.
> > 
> > See the relevant bits from /var/lib/dpkg/info/man-db.postinst:
> > 
> > if      [ -d $catdir ]
> > then    echo "  Removing catpages as well as $catdir hierarchy."
> >         rm -rf $catdir 2>/dev/null || true
> > fi
> > install -d -g root -m 02755 -o man $catdir
> 
> Am I right that dpkg would know about this dir if it were installed during
> the build of the package, say in debian/rules?

Yes.

> I believe that it is preferable that every system dir would be known to
> dpkg, which is why I want to issue a wish bug against man-db so that the
> creation of this dir would be made in debian/rules. What do you think?

Well, other than having it in dpkg -S output, it's a bit pointless, since
the package's scripts will going to remove and rebuild it again each time...

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: