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

Re: [apt] Sets of packages that run the same command.



* Joey Hess said:
> Jason Gunthorpe wrote:
> > I think a much simpler solution would be to simply have a directory, say,
> > /var/lib/dpkg/configure that dpkg will run the entire contents of after it
> > is finished configuring things.
> 
> How does this let several programs drop in scripts saying update-menus or
> ldconfig should be run, and only have the command be run once?
ldconfig doesn't depend on any parameters - it's always ran as 'ldconfig',
so there's no problem, and commands like update-menus should, of course, be
ran per-package or modified in a way that makes them aware of the
"scheduled" events.

marek

Attachment: pgpOXGTBHjWQ5.pgp
Description: PGP signature


Reply to: