Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   remove.c: make "target not found" error consistent with sync.c (http://www.linux-archive.org/archlinux-pacman-development/628908-remove-c-make-target-not-found-error-consistent-sync-c.html)

02-04-2012 03:05 PM

remove.c: make "target not found" error consistent with sync.c
 
From: Andrew Gregory <andrew.gregory.8@gmail.com>

---
src/pacman/remove.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pacman/remove.c b/src/pacman/remove.c
index 3de5769..508cd20 100644
--- a/src/pacman/remove.c
+++ b/src/pacman/remove.c
@@ -54,7 +54,7 @@ static int remove_target(const char *target)
/* fallback to group */
alpm_group_t *grp = alpm_db_readgroup(db_local, target);
if(grp == NULL) {
- pm_printf(ALPM_LOG_ERROR, "'%s': target not found
", target);
+ pm_printf(ALPM_LOG_ERROR, _("target not found: %s
"), target);
return -1;
}
for(p = grp->packages; p; p = alpm_list_next(p)) {
--
1.7.9


All times are GMT. The time now is 10:09 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.