[pacman-dev] [PATCH] Don't print "local/" with -Qs
Nagy Gabor
ngaba at bibl.u-szeged.hu
Sun May 10 07:16:38 EDT 2009
>From 1572535efe01dfae1f28b74862dec21f2102f165 Mon Sep 17 00:00:00 2001
From: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date: Sun, 10 May 2009 14:08:04 +0200
Subject: [PATCH] Don't print "local/" with -Qs
See FS#14642.
Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
---
src/pacman/query.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/pacman/query.c b/src/pacman/query.c
index 0d48638..2cb86a9 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -166,7 +166,7 @@ static int query_search(alpm_list_t *targets)
pmpkg_t *pkg = alpm_list_getdata(i);
if (!config->quiet) {
- printf("local/%s %s", alpm_pkg_get_name(pkg), alpm_pkg_get_version(pkg));
+ printf("%s %s", alpm_pkg_get_name(pkg), alpm_pkg_get_version(pkg));
} else {
printf("%s", alpm_pkg_get_name(pkg));
}
--
1.6.0.3
More information about the pacman-dev
mailing list