xbps_transaction_package_replace: misc cosmetic changes to dbg printfs.
This commit is contained in:
@ -84,19 +84,16 @@ xbps_transaction_package_replace(struct xbps_handle *xhp)
|
|||||||
"pkgname", &curpkgname);
|
"pkgname", &curpkgname);
|
||||||
prop_dictionary_get_cstring_nocopy(instd,
|
prop_dictionary_get_cstring_nocopy(instd,
|
||||||
"pkgver", &curpkgver);
|
"pkgver", &curpkgver);
|
||||||
xbps_dbg_printf(xhp,
|
|
||||||
"Package `%s' will be replaced by `%s', "
|
|
||||||
"matched with `%s'\n", curpkgver, pkgver, pattern);
|
|
||||||
/*
|
/*
|
||||||
* Check that we are not replacing the same package,
|
* Check that we are not replacing the same package,
|
||||||
* due to virtual packages.
|
* due to virtual packages.
|
||||||
*/
|
*/
|
||||||
if (strcmp(pkgname, curpkgname) == 0) {
|
if (strcmp(pkgname, curpkgname) == 0)
|
||||||
xbps_dbg_printf(xhp,
|
|
||||||
"replaced and new package "
|
|
||||||
"are equal (%s)\n", pkgname);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
xbps_dbg_printf(xhp,
|
||||||
|
"Package `%s' will be replaced by `%s', "
|
||||||
|
"matched with `%s'\n", curpkgver, pkgver, pattern);
|
||||||
instd_reqby = prop_dictionary_get(instd, "requiredby");
|
instd_reqby = prop_dictionary_get(instd, "requiredby");
|
||||||
instd_auto = false;
|
instd_auto = false;
|
||||||
prop_dictionary_get_bool(instd,
|
prop_dictionary_get_bool(instd,
|
||||||
|
Reference in New Issue
Block a user