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

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

* Ben Collins said:

> > 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. This is nice because it is posisble to
> > 'roll back' in the event of a failure, and the user can invoke the scripts
> > by hand if they need.
> So you suggest that the package place the commands there in its scripts
> and the dpkg would perform some sort of sort -u on it at the end of the
> install?
I guess sort of. But the commands to be executed should be filtered by some
program that checks the parameters and filters out commands that repeat,
that are the same.


Attachment: pgppBMSL6MML_.pgp
Description: PGP signature

Reply to: