"$config_dir/indices/sources" => <<END,
foo main foo
END
+ "$config_dir/pseudo-packages.description" => '',
);
while (my ($file,$contents) = each %files_to_create) {
system('mkdir','-p',dirname($file));
return 0 if not defined $pid;
if ($pid) {
$child_pid = $pid;
+ # Wait here for a second to let the child start up
+ sleep 1;
return $pid;
}
else {