* Added a check for .FILELIST for package validity in addition to .PKGINFO
This commit is contained in:
parent
0635e03869
commit
000256cbc5
1 changed files with 3 additions and 0 deletions
|
@ -339,6 +339,9 @@ pmpkg_t *_alpm_pkg_load(char *pkgfile)
|
||||||
if(!config) {
|
if(!config) {
|
||||||
_alpm_log(PM_LOG_ERROR, _("missing package info file in %s"), pkgfile);
|
_alpm_log(PM_LOG_ERROR, _("missing package info file in %s"), pkgfile);
|
||||||
goto error;
|
goto error;
|
||||||
|
} else if(!filelist) {
|
||||||
|
_alpm_log(PM_LOG_ERROR, _("missing package filelist in %s"), pkgfile);
|
||||||
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* internal */
|
/* internal */
|
||||||
|
|
Loading…
Add table
Reference in a new issue