Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pacman/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 6b6463e2..c3836a5e 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -848,6 +848,9 @@ static void _display_targets(alpm_list_t *targets, int verbose)
if(target->install) {
pm_asprintf(&str, "%s-%s", alpm_pkg_get_name(target->install),
alpm_pkg_get_version(target->install));
+ } else if(isize == 0) {
+ pm_asprintf(&str, "%s-%s", alpm_pkg_get_name(target->remove),
+ alpm_pkg_get_version(target->remove));
} else {
pm_asprintf(&str, "%s-%s [removal]", alpm_pkg_get_name(target->remove),
alpm_pkg_get_version(target->remove));