break path;
}
};
- let dir = format!("{base_dir}/{id}");
let verify = read_bool_from_tty(
"Should already mirrored files be re-verified when updating the mirror? (io-intensive!)",
eprintln!("config section '{suggested_id}' already exists, skipping..");
} else {
let repository = format!("deb {url}");
- let dir = format!("{base_dir}/{suggested_id}");
configs.push(MirrorConfig {
id: suggested_id,
key_path,
verify,
sync,
- dir,
+ base_dir: base_dir.clone(),
use_subscription: None,
+ ignore_errors: false,
});
}
}
key_path,
verify,
sync,
- dir,
+ base_dir,
use_subscription,
+ ignore_errors: false,
};
configs.push(main_config);