tech-pkg archive

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

Re: Converting RPM postinstall files



On Mon, May 07, 2012 at 06:43:45PM +0200, Edgar Fuß wrote:
> > There should be no reason for that. pkg_add preserves the timestamps
> > from the package.
> Ah, good. So it should suffice to set the time stamp inside the staging
> directory (they have the "wrong" date in the RPM). I suppose that's to be
> done at post-install?

Yes.

> > INSTALL script.
> How do I supply a custom INSTALL script (the guide doesn't tell me).
> What's the relation between my INSTALL script and the automatically
> created one?

Just provide a script fragment as INSTALL in the package directory. Look
around for any number of examples :)

Joerg


Home | Main Index | Thread Index | Old Index