Borsenkow Andrej <[EMAIL PROTECTED]> writes:

> As I cannot add second source in normal way, I thought I could just copy
> hdlists and synthesis for cooker and contrib. over. But then I have to
> regenerate list.* files. Is it possible to manually do it?

in perl:

opendir RPMS, "PATH_TO_YOUT_RPMS";
open L, ">/var/lib/urpmi/list.cooker";
print L "file:/PATH_TO_YOUT_RPMS/", join "\nfile:/PATH_TO_YOUR_RPMS/", grep { 
/\.rpm$/} readdir RPMS;

-- 
Warly

Reply via email to