Add some printfs when finding/sorting required deps.

--HG--
extra : convert_revision : f113844179d22f00390c218486cd34fdd23be6a4
This commit is contained in:
Juan RP 2009-04-03 18:08:16 +02:00
parent b329b3be39
commit 856f1554bc
2 changed files with 3 additions and 0 deletions

View file

@ -570,6 +570,7 @@ xbps_install_pkg_deps(const char *pkgname, bool update)
/*
* Sort the dependency chain into an array.
*/
printf("Sorting dependency list...\n");
if ((rv = xbps_sort_pkg_deps(chaindeps)) != 0)
return rv;
@ -596,6 +597,7 @@ xbps_install_pkg_deps(const char *pkgname, bool update)
/*
* Install all required dependencies, previously sorted.
*/
printf("Installing required dependencies...\n");
while ((obj = prop_object_iterator_next(iter)) != NULL) {
rv = xbps_install_binary_pkg_fini(NULL, obj, update);
if (rv != 0)

View file

@ -189,6 +189,7 @@ install_binpkg_repo_cb(prop_object_t obj, void *arg, bool *cbloop_done)
/*
* Construct the dependency chain for this package.
*/
printf("Finding required dependencies...\n");
if ((rv = xbps_find_deps_in_pkg(pkgrd)) != 0) {
prop_object_release(repod);
if (rv == ENOENT) {