[gobolinux-devel] Actions on install
Jonas Karlsson
jonka750 at student.liu.se
Wed Nov 22 15:23:31 UTC 2006
On Wed, 22 Nov 2006 16:10:14 +0100, Hisham Muhammad <hisham.hm at gmail.com>
wrote:
> On 11/22/06, Jonas Karlsson <jonka750 at student.liu.se> wrote:
>> On Fri, 17 Nov 2006 21:06:35 +0100, Hisham Muhammad
>> <hisham.hm at gmail.com>
>> wrote:
>>
>> > InstallPackage supports a script called Resources/PostInstall which
>> > runs in a sandbox with access to the program's contents and settings
>> > only. I believe the OpenSSH recipe should be fixed adding that script.
>> >
>> Ok, I've looked at it now, but it made me wonder; is it really good to
>> be
>> runned after SymlinkProgram? Isn't it better that it was runned before,
>> so
>> that new files were symlinked?
>
> The PostInstall script may need to run programs the newly-installed
> package, therefore it needs to be linked. Perhaps SymlinkProgram
> should run twice when there is a PostInstall file.
>
if ${target} was available one could (should) use that instead to run the
newly installed programs, unless the PostInstall script should be runable
manually by the user.
--
/Jonas
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the gobolinux-devel
mailing list