diff --git a/src/pkg/mirror.rs b/src/pkg/mirror.rs index ab17993..e49a84e 100644 --- a/src/pkg/mirror.rs +++ b/src/pkg/mirror.rs @@ -48,10 +48,6 @@ impl MirrorRepository { /// Get the `.db.tar.gz` content for the repository of `arch` pub async fn db_content(&self, arch: Architecture, mirrorlist: &[String]) -> Option> { - if let Some(content) = self.inner.db_content(arch.clone()) { - return Some(content); - } - self.download_file( &format!("{}.db.tar.gz", self.inner.name), self.inner @@ -67,10 +63,6 @@ impl MirrorRepository { /// Get the `.db.tar.gz.sig` content for the repository of `arch` pub async fn sig_content(&self, arch: Architecture, mirrorlist: &[String]) -> Option> { - if let Some(content) = self.inner.sig_content(arch.clone()) { - return Some(content); - } - self.download_file( &format!("{}.db.tar.gz.sig", self.inner.name), self.inner