xbps-bin/xbps_install_pkg(): only sort pkg deps in update mode.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20091016135513-w4yc413l3i1pwdkm
This commit is contained in:
parent
a60fde85a5
commit
651a4e6254
@ -278,13 +278,15 @@ xbps_install_pkg(const char *pkg, bool force, bool update)
|
|||||||
prop_dictionary_get_cstring_nocopy(trans->dict,
|
prop_dictionary_get_cstring_nocopy(trans->dict,
|
||||||
"origin", &trans->originpkgname);
|
"origin", &trans->originpkgname);
|
||||||
|
|
||||||
/*
|
if (update) {
|
||||||
* Sort the package transaction dictionary.
|
/*
|
||||||
*/
|
* Sort the package transaction dictionary.
|
||||||
if ((rv = xbps_sort_pkg_deps(trans->dict)) != 0) {
|
*/
|
||||||
printf("Error while sorting packages: %s\n",
|
if ((rv = xbps_sort_pkg_deps(trans->dict)) != 0) {
|
||||||
strerror(rv));
|
printf("Error while sorting packages: %s\n",
|
||||||
goto out2;
|
strerror(rv));
|
||||||
|
goto out2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user