From 27bc2f7eb81566370f9f19f89eb95c6e6c9ec49a Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Tue, 19 Jan 2010 21:35:13 +0100 Subject: Print "there is nothing to do" with NOOP transactions The "local database is up to date" message has been replaced with "there is nothing to do" message. This used with "empty" -S, -R, -U operations too. (Examples: pacman -S ignored_pkg, pacman -Ru needed_pkg.) See FS#17859. Signed-off-by: Nagy Gabor Signed-off-by: Dan McGee --- src/pacman/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pacman/sync.c') diff --git a/src/pacman/sync.c b/src/pacman/sync.c index a2ef616d..24acf5f8 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -663,7 +663,7 @@ static int sync_trans(alpm_list_t *targets) packages = alpm_trans_get_add(); if(packages == NULL) { /* nothing to do: just exit without complaining */ - printf(_(" local database is up to date\n")); + printf(_(" there is nothing to do\n")); goto cleanup; } -- cgit v1.2.3