>From 030ebfd154f61930cfe778027de6a6ce3636ef53 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Thu, 2 Oct 2008 18:45:58 -0400 Subject: [PATCH] Print a newline between packages when printing sync info. Signed-off-by: Loui Chang --- src/pacman/sync.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 63397aa..f60fa9d 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -451,6 +451,7 @@ static int sync_info(alpm_list_t *syncs, alpm_list_t *targets) if(strcmp(alpm_pkg_get_name(pkg), pkgstr) == 0) { dump_pkg_sync(pkg, alpm_db_get_name(db)); + printf("\n"); foundpkg = 1; break; } @@ -469,6 +470,7 @@ static int sync_info(alpm_list_t *syncs, alpm_list_t *targets) for(j = alpm_db_get_pkgcache(db); j; j = alpm_list_next(j)) { dump_pkg_sync(alpm_list_getdata(j), alpm_db_get_name(db)); + printf("\n"); } } } -- 1.6.0.2