xbps_prepare_pkg: don't forget to set 'trans-action' obj.
--HG-- extra : convert_revision : 41c7ec70808ede09d87801ebd8e1b94fe5bd6205
This commit is contained in:
parent
b3204eed99
commit
db53f42345
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue