tech-pkg archive

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

Re: pkg_install patch to support sysutils/etckeeper



On Wed, May 29, 2013 at 11:14:59PM +1200, Steven Drake wrote:
> > I think the correct way forward is to add directories like
> > $PREFIX/libdata/pkg_install/{pre,post}-{install,deinstall}
> > and execute the scripts in it (sorted by C locale strcmp). This should
> > happen in the same place as the current +INSTALL/+DEINSTALL calls with
> > consistent order relative to them.
> 
> While I like this idea (thow I'd prefer
> $SYSCONFDIR/pkg_install/{pre,post}-{install,deinstall}) it won't work for
> etckeeper.
> 
> I originally tried running the commands just before the +INSTALL call and
> after the +DEINSTALL call and etckeeper didn't work the way it's suppost to.

Sounds like a bug/misfeature in etckeeper to me...

Joerg



Home | Main Index | Thread Index | Old Index