Skip to content

Commit

Permalink
Aur packages could be installed as needed
Browse files Browse the repository at this point in the history
Fix #1093

paru should always retrieve package info from local
package database instead of aur repo.
  • Loading branch information
ssfdust committed Dec 5, 2023
1 parent 81efb1f commit 6625605
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 6625605

Please sign in to comment.