xbps-install: fix previous of previous (heh).

This commit is contained in:
Juan RP 2014-07-14 09:49:21 +02:00
parent 314e345a5e
commit 38aba4ce60

View File

@ -91,7 +91,7 @@ show_package_list(xbps_object_iterator_t iter, const char *match, int cols)
xbps_dictionary_get_cstring_nocopy(obj, "transaction", &tract);
xbps_dictionary_get_bool(obj, "download", &dload);
if (dload || (match && (strcmp(match, tract) == 0)))
if ((match && (strcmp(match, tract) == 0)) || (!match && dload))
print_package_line(pkgver, cols, false);
}
xbps_object_iterator_reset(iter);