[gobolinux-devel] Use of PostInstall

Jonas Karlsson jonka750 at student.liu.se
Fri Apr 20 12:48:04 UTC 2007


On Fri, 20 Apr 2007 14:24:40 +0200, André Detsch <detsch at gobolinux.org>  
wrote:

> On 4/20/07, Jonas Karlsson <jonka750 at student.liu.se> wrote:
>> While doing some experiments on Mime database I found that PostInstall  
>> is
>> only runned by InstallPackage. That means one has to use the (probably
>> exact) same code in the recipe, to have these things done when  
>> installing
>>  from recipe. Wouldn't it be better if PostInstall was called from
>> somewhere else (as well)?
>
> Sure. Sounds like a bug.
> PostInstall should be called both by Compile and InstallPackage.
>
If so, would it be wrong to move this to SymlinkProgram instead (to avoid  
doubling the code)?

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the gobolinux-devel mailing list