Re: mine and postinstall

Stefan Fiedler <[email protected]>
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
Am Mittwoch 04 Mai 2005 08:29 schrieb Benjamin Schieder:
> > It basically works as follows:
> >
> > - If the directory /var/adm/postinstall exists, mine writes a log file
> > for each package installed or removed. The format of logs and flist files
> > is the same. If this directory does not exist, no log will be written.
> > Only files
>
> Why this condition? Wouldn't it make sense to create the directory if it
> does not exist?

Yes, that would be worth a thought. I didn't have a special reason for it, 
it's just a simple way to turn logs off. If there's noone in favor of this 
behaviour, I'll change it.

>
> > - The postinstall package contains the /usr/sbin/postinstall script. This
>
> When is that script executed? After mine finishes installing? By cron?
> Manually?

postinstall has to be run run manually. mine already contains a note in it's 
help text about this:

 After installing, updating or removing packages you should run the
 scripts 'cron.run' and 'postinstall'. This updates some important
 system files.

I think postinstall will eventually replace cron.run.

Regards,
 Stefan Fiedler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.