Skip to content

Commit

Permalink
update repository names in download.rs
Browse files Browse the repository at this point in the history
Update according to recent repository name changes

fixes #1142
  • Loading branch information
arenevier committed Mar 10, 2024
1 parent 434b16e commit 880eb08
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 880eb08

Please sign in to comment.