index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-22 16:16:51 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-22 16:16:51 +0000 |
commit | 000256cbc58407ac4a27ca27ed09015b14ab99b0 (patch) | |
tree | 8a09685b20267776105c6e4e773d7ae7a881dd0e /lib | |
parent | 0635e03869a9af0b40ba2858a88de0d2e6dd8fe7 (diff) |
-rw-r--r-- | lib/libalpm/package.c | 3 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 084b9014..eaeca1cd 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -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 */ |