1
0
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:
Aaron Griffin 2007-01-22 16:16:51 +00:00
parent 0635e03869
commit 000256cbc5

View File

@ -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 */