index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2006-10-15 20:46:33 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-10-15 20:46:33 +0000 |
commit | e037328e219697f8453dc25df2b8f0d25bbc1acc (patch) | |
tree | c0eadf6a99f2a141f221ae23d488c256165d6dda /src | |
parent | 91f450050335b747da2f4cd75260df7f9b36741c (diff) |
-rw-r--r-- | src/pacman/sync.c | 9 |
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index d06ed278..e77c9eab 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -197,10 +197,11 @@ static int sync_search(list_t *syncs, list_t *targets) PM_PKG *pkg = alpm_list_getdata(lp); char *group = (char *)alpm_list_getdata(alpm_pkg_getinfo(pkg,PM_PKG_GROUPS)); - printf("%s/%s%s%s %s\n ", (char *)alpm_db_getinfo(sync->db, PM_DB_TREENAME), - (char *)alpm_pkg_getinfo(pkg, PM_PKG_NAME), - (char *)alpm_pkg_getinfo(pkg, PM_PKG_VERSION)); - (group ? " (" : ""), (group ? group : ""), (group ? ") " : ""), + printf("%s/%s %s %s%s%s\n ", + (char *)alpm_db_getinfo(sync->db, PM_DB_TREENAME), + (char *)alpm_pkg_getinfo(pkg, PM_PKG_NAME), + (char *)alpm_pkg_getinfo(pkg, PM_PKG_VERSION), + (group ? " (" : ""), (group ? group : ""), (group ? ") " : "")); indentprint((char *)alpm_pkg_getinfo(pkg, PM_PKG_DESC), 4); printf("\n"); } |