mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-12 04:15:06 -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) {
|
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…
Reference in New Issue
Block a user