Skip to content

Commit

Permalink
Merge pull request #1147 from arenevier/master
Browse files Browse the repository at this point in the history
update repository names in download.rs
  • Loading branch information
Morganamilo authored Mar 10, 2024
2 parents 434b16e + 880eb08 commit fc1bdae
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 fc1bdae

Please sign in to comment.