summaryrefslogtreecommitdiffstats
path: root/src/pacman/deptest.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-12 07:44:00 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-12 07:44:00 +0100
commitbe85600dfd68152a604bfe23f2e5a4285fa4f317 (patch)
tree91693c1ed82a1000380cb033359a573245350913 /src/pacman/deptest.c
parent2a7c1de945a3ad0673655ba65c1a2d0ade87c733 (diff)
downloadpacman-be85600dfd68152a604bfe23f2e5a4285fa4f317.tar.gz
pacman-be85600dfd68152a604bfe23f2e5a4285fa4f317.tar.xz
* Removed the 'vercmp' op from pacman. The standalone 'vercmp' binary should be
used instead * Allow -T/--deptest to work without root privileges
Diffstat (limited to 'src/pacman/deptest.c')
-rw-r--r--src/pacman/deptest.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c
index c04ecb0c..04faeaa0 100644
--- a/src/pacman/deptest.c
+++ b/src/pacman/deptest.c
@@ -49,18 +49,6 @@ int pacman_deptest(alpm_list_t *targets)
return(0);
}
- if(config->op_d_vertest) {
- const char *pkga, *pkgb;
- pkga = alpm_list_getdata(targets);
- i = alpm_list_next(targets);
- if(pkga && i && (pkgb = alpm_list_getdata(i))) {
- int ret = alpm_pkg_vercmp(pkga, pkgb);
- printf("%d\n", ret);
- return(ret);
- }
- return(0);
- }
-
/* we create a transaction to hold a dummy package to be able to use
* deps checkings from alpm_trans_prepare() */
if(alpm_trans_init(PM_TRANS_TYPE_ADD, 0, NULL, NULL, NULL) == -1) {