Fix previous: propagate "softreplace" obj to pkg being replaced.

This commit is contained in:
Juan RP 2012-05-25 17:58:36 +02:00
parent 6a4de0127d
commit da9b6774c3
2 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,7 @@
*/
#define XBPS_PKGINDEX_VERSION "1.4"
#define XBPS_API_VERSION "20120525-1"
#define XBPS_API_VERSION "20120525-2"
#define XBPS_VERSION "0.16"
/**

View File

@ -156,6 +156,8 @@ xbps_transaction_package_replace(prop_dictionary_t transd)
}
prop_dictionary_set_bool(pkg_repod,
"automatic-install", instd_auto);
prop_dictionary_set_bool(instd,
"softreplace", true);
}
/*
* Add package dictionary into the transaction and mark