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 05:48:58PM +0200, Edgar Fuß wrote:
> 1. Setting time stamps. The package wants to set the time stamps of some
> executable file to a date recorded in an included file. I don't know what's
> that good for, but I would like to mimick it nevertheless.

There should be no reason for that. pkg_add preserves the timestamps
from the package.

> 3. Running some supplied command to generate a token. The code is broken,
> but how would I convert it if it wasn't?

INSTALL script.

> 4. Copying libraries to /usr/lib if they don't already exist. This seems
> fishy and should probably be avoided.

Yes.

> 5. Creating symlinks. I suppose they should just go into the package?

Either that or via INSTALL script.

Joerg


Home | Main Index | Thread Index | Old Index