From db53f42345144dadab6e7d0b837b8daaeb5bffcf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Aug 2009 20:22:01 +0200 Subject: [PATCH] xbps_prepare_pkg: don't forget to set 'trans-action' obj. --HG-- extra : convert_revision : 41c7ec70808ede09d87801ebd8e1b94fe5bd6205 --- lib/findpkg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/findpkg.c b/lib/findpkg.c index 7a2a7739452..548c72b5627 100644 --- a/lib/findpkg.c +++ b/lib/findpkg.c @@ -405,6 +405,8 @@ xbps_prepare_pkg(const char *pkgname) goto out; } + prop_dictionary_set_cstring_nocopy(pkgrd, "trans-action", "install"); + if (!prop_array_add(pkgs_array, pkgrd)) rv = errno;