Preload-rw package could be dotnet package so
add condition to StepCheckTizenVersion to continue its installation
even if getting dotnet version through vconf has failed.
Change-Id: I6166f9c56eacd15e42f63ef42396303f3e1b4d61
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
bool StepCheckTizenVersion::CompareDotnetVersion(const std::string& version) {
int dotnet_api_level;
if (vconf_get_int(kDotnetAPILevelVconfKey, &dotnet_api_level)) {
- if (!context_->is_readonly_package.get()) {
+ if (!context_->is_readonly_package.get() &&
+ !context_->is_preload_rw_package.get()) {
LOG(ERROR) << "Failed to get platform dotnet API level";
return false;
} else {