summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-10-08 20:43:25 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-10-08 20:43:25 +0000
commit0d6a2edaa8e39f9d7b77f0a023e8a2bfdab7a16d (patch)
treecc22b868e74e5e716cbaa8ed0b6f2629b978ade4 /lib/libalpm/alpm.c
parent5ef51b3e266cf43411947248886372001fdb207a (diff)
downloadpacman-0d6a2edaa8e39f9d7b77f0a023e8a2bfdab7a16d.tar.xz
Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entry
Diffstat (limited to 'lib/libalpm/alpm.c')
-rw-r--r--lib/libalpm/alpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index 10444fa4..85665833 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -378,7 +378,6 @@ void *alpm_pkg_getinfo(pmpkg_t *pkg, unsigned char parm)
case PM_PKG_PACKAGER:
case PM_PKG_SIZE:
case PM_PKG_REASON:
- case PM_PKG_REPLACES:
case PM_PKG_MD5SUM:
if(!(pkg->infolevel & INFRQ_DESC)) {
char target[(PKG_NAME_LEN-1)+1+(PKG_VERSION_LEN-1)+1];
@@ -393,6 +392,7 @@ void *alpm_pkg_getinfo(pmpkg_t *pkg, unsigned char parm)
case PM_PKG_REQUIREDBY:
case PM_PKG_CONFLICTS:
case PM_PKG_PROVIDES:
+ case PM_PKG_REPLACES:
if(!(pkg->infolevel & INFRQ_DEPENDS)) {
char target[(PKG_NAME_LEN-1)+1+(PKG_VERSION_LEN-1)+1];
snprintf(target, (PKG_NAME_LEN-1)+1+(PKG_VERSION_LEN-1)+1, "%s-%s", pkg->name, pkg->version);