Initial merge with Alt's proxmox
This commit is contained in:
@ -32,6 +32,7 @@ pub fn list_repositories(product: &str) -> Result<APTRepositoriesResult, Error>
|
|||||||
|
|
||||||
let (files, errors, digest) = crate::repositories::repositories()?;
|
let (files, errors, digest) = crate::repositories::repositories()?;
|
||||||
|
|
||||||
|
|
||||||
let suite = crate::repositories::get_current_release_codename()?;
|
let suite = crate::repositories::get_current_release_codename()?;
|
||||||
|
|
||||||
let infos = crate::repositories::check_repositories(&files, suite, apt_lists_dir);
|
let infos = crate::repositories::check_repositories(&files, suite, apt_lists_dir);
|
||||||
|
@ -273,7 +273,7 @@ impl APTRepositoryFileImpl for APTRepositoryFile {
|
|||||||
|
|
||||||
/// Checks if old or unstable suites are configured and that the Debian security repository
|
/// Checks if old or unstable suites are configured and that the Debian security repository
|
||||||
/// has the correct suite. Also checks that the `stable` keyword is not used.
|
/// has the correct suite. Also checks that the `stable` keyword is not used.
|
||||||
pub fn check_suites(
|
fn check_suites(
|
||||||
&self,
|
&self,
|
||||||
#[cfg(not(feature = "alt-linux"))]
|
#[cfg(not(feature = "alt-linux"))]
|
||||||
current_codename: DebianCodename,
|
current_codename: DebianCodename,
|
||||||
|
Reference in New Issue
Block a user