From be85600dfd68152a604bfe23f2e5a4285fa4f317 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 12 Feb 2007 06:44:00 +0000 Subject: * Removed the 'vercmp' op from pacman. The standalone 'vercmp' binary should be used instead * Allow -T/--deptest to work without root privileges --- src/pacman/deptest.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/pacman/deptest.c') 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) { -- cgit v1.2.3-24-g4f1b