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)); pkgname, version, strerror(rv));
goto out; goto out;
} else { } else {
if (xhp->flags & XBPS_FLAG_VERBOSE)
xbps_warn_printf("ignoring existing " xbps_warn_printf("ignoring existing "
"entry: %s\n", entry_pname); "entry: %s\n", entry_pname);
RUN_PROGRESS_CB(); RUN_PROGRESS_CB();
continue; continue;
} }