Skip to content

Commit

Permalink
Merge pull request #1100 from ssfdust/fix-aur-needed
Browse files Browse the repository at this point in the history
Aur packages could be installed as needed
  • Loading branch information
Morganamilo authored Mar 7, 2024
2 parents ae60105 + 6625605 commit cdecf97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2042,14 +2042,14 @@ fn needs_build(
if !base
.packages()
.filter_map(|p| repos.pkg(p).ok())
.any(|_| base.version() == version)
.any(|p| p.version() == version)
{
all_installed = false
}
} else if !base
.packages()
.filter_map(|p| config.alpm.localdb().pkg(p).ok())
.any(|_| base.version() == version)
.any(|p| p.version() == version)
{
all_installed = false
}
Expand Down

0 comments on commit cdecf97

Please sign in to comment.