cookbook: Fix flipped tar fetch logic

This commit is contained in:
Wildan M 2026-09-10 14:36:40 +07:00
parent c2c4f032b0
commit 1d68cbd167
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -428,7 +428,7 @@ pub fn fetch(recipe: &CookRecipe, check_source: bool, logger: &PtyOut) -> Result
} else if cached_info.is_none() {
log_to_pty!(logger, "DEBUG: updating source: cached info is missing");
true
} else if cached_info
} else if !cached_info
.as_ref()
.unwrap()
.is_updated(&source_ident, &patches_ident)