index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2011-10-16 16:42:25 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-21 19:29:31 -0500 |
commit | 32327dc8c9679232ae55935615088c0696f49e86 (patch) | |
tree | c5653827b451d99231c989d52369f2c9be2013d9 /src/pacman/util.c | |
parent | 89edea326bd3d2f4d6feab441d2da961c715dbc0 (diff) |
-rw-r--r-- | src/pacman/util.c | 7 |
diff --git a/src/pacman/util.c b/src/pacman/util.c index 3f52500d..efd8563d 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -785,7 +785,12 @@ static alpm_list_t *create_verbose_row(pm_target_t *target, int dl_size) /* a row consists of the package name, */ if(target->install) { - pm_asprintf(&str, "%s", alpm_pkg_get_name(target->install)); + const alpm_db_t *db = alpm_pkg_get_db(target->install); + if(db) { + pm_asprintf(&str, "%s/%s", alpm_db_get_name(db), alpm_pkg_get_name(target->install)); + } else { + pm_asprintf(&str, "%s", alpm_pkg_get_name(target->install)); + } } else { pm_asprintf(&str, "%s", alpm_pkg_get_name(target->remove)); } |