xbps-bin: show which pkgs are updated and installed before proceeding.

--HG--
extra : convert_revision : 2c2fcd7f3c5909d14d1519ffc7e8ac0cad124b34
This commit is contained in:
Juan RP 2009-08-11 18:53:24 +02:00
parent b8c4131798
commit 45a58485eb
2 changed files with 57 additions and 26 deletions

View file

@ -285,6 +285,8 @@ xbps_find_new_pkg(const char *pkgname, prop_dictionary_t instpkg)
goto out;
}
prop_dictionary_set_cstring_nocopy(pkgrd, "trans-action", "update");
if (!prop_array_add(unsorted, pkgrd))
rv = errno;