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,6 +278,7 @@ xbps_install_pkg(const char *pkg, bool force, bool update)
|
||||
prop_dictionary_get_cstring_nocopy(trans->dict,
|
||||
"origin", &trans->originpkgname);
|
||||
|
||||
if (update) {
|
||||
/*
|
||||
* Sort the package transaction dictionary.
|
||||
*/
|
||||
@ -286,6 +287,7 @@ xbps_install_pkg(const char *pkg, bool force, bool update)
|
||||
strerror(rv));
|
||||
goto out2;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* It's time to run the transaction!
|
||||
|
Loading…
Reference in New Issue
Block a user