mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-11 20:05:07 -05:00
* Added a check for .FILELIST for package validity in addition to .PKGINFO
This commit is contained in:
parent
0635e03869
commit
000256cbc5
@ -339,6 +339,9 @@ pmpkg_t *_alpm_pkg_load(char *pkgfile)
|
||||
if(!config) {
|
||||
_alpm_log(PM_LOG_ERROR, _("missing package info file in %s"), pkgfile);
|
||||
goto error;
|
||||
} else if(!filelist) {
|
||||
_alpm_log(PM_LOG_ERROR, _("missing package filelist in %s"), pkgfile);
|
||||
goto error;
|
||||
}
|
||||
|
||||
/* internal */
|
||||
|
Loading…
Reference in New Issue
Block a user