xbps_unpack_binary_pkg: printf existents entries iff XBPS_FLAG_VERBOSE is set.

This commit is contained in:
Juan RP 2011-07-05 17:47:37 +02:00
parent a379b394fd
commit 900e35a15e

View File

@ -388,8 +388,10 @@ unpack_archive(prop_dictionary_t pkg_repod,
pkgname, version, strerror(rv));
goto out;
} else {
xbps_warn_printf("ignoring existing "
"entry: %s\n", entry_pname);
if (xhp->flags & XBPS_FLAG_VERBOSE)
xbps_warn_printf("ignoring existing "
"entry: %s\n", entry_pname);
RUN_PROGRESS_CB();
continue;
}