xbps_prepare_pkg: don't forget to set 'trans-action' obj.

--HG--
extra : convert_revision : 41c7ec70808ede09d87801ebd8e1b94fe5bd6205
This commit is contained in:
Juan RP 2009-08-11 20:22:01 +02:00
parent b3204eed99
commit db53f42345
1 changed files with 2 additions and 0 deletions

View File

@ -405,6 +405,8 @@ xbps_prepare_pkg(const char *pkgname)
goto out; goto out;
} }
prop_dictionary_set_cstring_nocopy(pkgrd, "trans-action", "install");
if (!prop_array_add(pkgs_array, pkgrd)) if (!prop_array_add(pkgs_array, pkgrd))
rv = errno; rv = errno;