From 880eb08cba1e785573655dae57b0be0951898e44 Mon Sep 17 00:00:00 2001 From: Arno Renevier Date: Sat, 9 Mar 2024 16:32:19 -0800 Subject: [PATCH] update repository names in download.rs Update according to recent repository name changes fixes #1142 --- src/download.rs | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/download.rs b/src/download.rs index 167d0b63..63b324fd 100644 --- a/src/download.rs +++ b/src/download.rs @@ -461,7 +461,15 @@ fn split_repo_aur_pkgbuilds<'a, T: AsTarg>( } else if let Some(repo) = targ.repo { if matches!( repo, - "testing" | "community-testing" | "core" | "extra" | "community" | "multilib" + "testing" + | "community-testing" + | "core" + | "extra" + | "community" + | "multilib" + | "core-testing" + | "extra-testing" + | "multilib-testing" ) { local.push(targ); } else { @@ -470,7 +478,15 @@ fn split_repo_aur_pkgbuilds<'a, T: AsTarg>( } else if let Ok(pkg) = db.pkg(targ.pkg) { if matches!( pkg.db().unwrap().name(), - "testing" | "community-testing" | "core" | "extra" | "community" | "multilib" + "testing" + | "community-testing" + | "core" + | "extra" + | "community" + | "multilib" + | "core-testing" + | "extra-testing" + | "multilib-testing" ) { local.push(targ); } else {