From: Soyoung Kim Date: Fri, 14 Jun 2013 04:53:32 +0000 (+0900) Subject: Fixed get signature file logic X-Git-Tag: submit/tizen_2.2/20130713.111652^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a5a51396d0977bd0babdf9f10b71a2937f83d19;p=platform%2Fframework%2Fweb%2Fwrt-installer.git Fixed get signature file logic [Issue#] N/A [Problem] can't install twitter web app. [Cause] fail to get signature file. [Solution] if there is no signature file, skip get certificate. [SCMRequest] N/A Change-Id: I1371ca4239eef58c0e99d4122055db66b6514289 --- diff --git a/src/jobs/widget_install/task_certify.cpp b/src/jobs/widget_install/task_certify.cpp index 9826b04..6223426 100644 --- a/src/jobs/widget_install/task_certify.cpp +++ b/src/jobs/widget_install/task_certify.cpp @@ -223,7 +223,9 @@ void TaskCertify::stepSignature() if (signatureFiles.size() <= 0) { widgetPath = m_contextData.locations->getTemporaryPackageDir() + WrtDB::GlobalConfig::GetWidgetSrcPath() + "/"; - getSignatureFiles(widgetPath, signatureFiles); + if (0 == access(widgetPath.c_str(), F_OK)) { + getSignatureFiles(widgetPath, signatureFiles); + } } } Catch(Exceptions::SignatureNotFound) { ReThrowMsg(Exceptions::SignatureNotFound, widgetPath);