[PC-BSD Pbi-dev] The little bug in pbid

Kris Moore kris at pcbsd.org
Thu Dec 22 07:08:49 PST 2011


On 12/21/2011 23:07, Andriy Bakay wrote:
> Hi All,
>
> Recently I noticed the PBI Daemon (pbid) does not read 'PBI_INDEXREFRESH' parameter from 'pbi.conf' file. The problem is with 'sed -n' flags:
>
> Current:
>
> _ckPBIIR="`sed -n 's/^PBI_INDEXREFRESH: //g' ${PBI_ETCCONF}`"
>
> Should be:
>
> _ckPBIIR="`sed -n 's/^PBI_INDEXREFRESH: //gp' ${PBI_ETCCONF}`"
>
> And one more thing. Is it possible to make 'pbid' to check for index on demand by sending some signal to process etc? It could be very useful if index file was updated in repo and one what to pickup changes on client side immediately.
>
> Thanks,
> Andriy
>
> _______________________________________________
> Pbi-dev mailing list
> Pbi-dev at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/pbi-dev

Thanks, committed the fix! I'll also look for a way to manually trigger
updating on the client :)

-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Pbi-dev mailing list