diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-03 09:05:13 +0100 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-03 09:05:13 +0100 |
commit | 043a49701f5f11429199428a4cc1a084b5f297a9 (patch) | |
tree | 262f6805d7cd8299c729cb4e4362ef45bcd327d1 /lib/libalpm/add.c | |
parent | 50030f778a59394c5aab2ee484e0123f88581fcc (diff) | |
download | pacman-043a49701f5f11429199428a4cc1a084b5f297a9.tar.gz pacman-043a49701f5f11429199428a4cc1a084b5f297a9.tar.xz |
* bug fix FS#6100 - fix --print-uris output
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r-- | lib/libalpm/add.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 778bb888..344f04d3 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -124,6 +124,10 @@ int _alpm_add_loadtarget(pmtrans_t *trans, pmdb_t *db, char *name) _alpm_log(PM_LOG_FLOW2, _("loading target '%s'"), name); + /* TODO FS#5120 we need a better way to check if a package is a valid package, + * and read the metadata instead of relying on the filename for package name + * and version + */ if(stat(name, &buf)) { pm_errno = PM_ERR_NOT_A_FILE; goto error; |