update: better handling of the keep files

This commit is contained in:
ngn
2024-08-04 13:11:25 +03:00
parent b27e31c66c
commit d2d6679060
19 changed files with 128 additions and 43 deletions

View File

@ -25,7 +25,7 @@ bool lm_package_downloaded(lm_pkg_t *pkg){
return false;
}
if(!exists(pkg->archive) || !exists(pkg->signature)){
if(!exists(pkg->archive, NULL) || !exists(pkg->signature, NULL)){
lm_error_set(LM_ERR_PkgNotDownloaded);
return false;
}