Skip to content

Commit

Permalink
Fix aur packages not being case sensitive
Browse files Browse the repository at this point in the history
Fixes #820
  • Loading branch information
Morganamilo committed Sep 8, 2022
1 parent 19df2cd commit 81b7b3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ pub async fn cache_info_with_warnings<'a, S: AsRef<str> + Send + Sync>(
let mut missing = Vec::new();
let mut ood = Vec::new();
let mut orphaned = Vec::new();
let aur_pkgs = raur.cache_info(cache, pkgs).await?;
let mut aur_pkgs = raur.cache_info(cache, pkgs).await?;

aur_pkgs.retain(|pkg1| pkgs.iter().any(|pkg2| pkg1.name == pkg2.as_ref()));

for pkg in pkgs {
if !ignore.iter().any(|p| p == pkg.as_ref()) && !cache.contains(pkg.as_ref()) {
Expand Down

0 comments on commit 81b7b3c

Please sign in to comment.