jmr wrote:
> [snip]
>>
>>
>> 820: I'm curious why you're installing without refreshing the 
>> catalogs in the default case.
> The pkg refresh will have been called from the installed cron job 
> (runs update-refresh.sh periodically, calls pkg refresh), so I did not 
> want to call it again. If you think I should I certainly can. Would 
> the best place to do the refresh be in __get_image_obj_from_directory( 
> ) where I am fetching the catalogs initially?
Sorry, I wasn't very clear. The "False" that's being passed to 
plan_install means for install not to refresh the catalogs. For the CLI, 
we've made refreshing the catalogs on just about all operations the 
default behavior (with the user able to use a --no-refresh option if 
they want to). In the long run, it's probably something there should be 
a check box for in the preferences or something. In the short term, 
since you're running a cron job, it probably won't make much of a 
difference. If you decide you want the refresh, simply change the 
"False" argument to True, or just remove it all together.

Cheers,
Brock
>>
>> [snip]
>>>   
>>
>

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to