From 327c272bb4540cee396f7e83ff98899876363a79 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Fri, 4 May 2012 13:56:55 +1000 Subject: Basic running of pacman -Qkk to check mtree files If a package has an mtree file, using pacman -Qkk will read that file and use it to perform more in depth package checking. Currently this only checks for file presence. Signed-off-by: Allan McRae --- src/pacman/pacman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pacman/pacman.c') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index a25bbf84..29a489b4 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -460,7 +460,7 @@ static int parsearg_query(int opt) case 'e': config->op_q_explicit = 1; break; case 'g': (config->group)++; break; case 'i': (config->op_q_info)++; break; - case 'k': config->op_q_check = 1; break; + case 'k': (config->op_q_check)++; break; case 'l': config->op_q_list = 1; break; case 'm': config->op_q_foreign = 1; break; case 'n': config->op_q_native = 1; break; -- cgit v1.2.3-54-g00ecf