void TaskCertify::getSignatureFiles(std::string path, SignatureFileInfoSet& file)
{
+ LogDebug("path : " << path);
SignatureFileInfoSet signatureFiles;
SignatureFinder signatureFinder(path);
if (SignatureFinder::NO_ERROR != signatureFinder.find(file)) {
std::string widgetPath;
widgetPath = m_contextData.locations->getTemporaryPackageDir() + "/";
+ if (m_contextData.mode.command ==
+ InstallMode::Command::REINSTALL)
+ {
+ widgetPath = m_contextData.locations->getPackageInstallationDir() + "/";
+ }
+
SignatureFileInfoSet signatureFiles;
Try {
getSignatureFiles(widgetPath, signatureFiles);
if (signatureFiles.size() <= 0) {
- widgetPath = m_contextData.locations->getTemporaryPackageDir() +
- WrtDB::GlobalConfig::GetWidgetSrcPath() + "/";
+ widgetPath += std::string(WrtDB::GlobalConfig::GetWidgetSrcPath())
+ + "/";
if (0 == access(widgetPath.c_str(), F_OK)) {
getSignatureFiles(widgetPath, signatureFiles);
}