From f4d960b64660461de3b08270262ca6e306c5b179 Mon Sep 17 00:00:00 2001 From: "yongsung1.kim" Date: Thu, 16 Jan 2014 10:45:04 +0900 Subject: [PATCH] [INST] Fix bug that installmanager cannot get installed SDK. Installmanager cannot get installed SDK on system because it cannot read the installedpackage.list file. We fixed if condition which check to exist installedpackage.list file. Change-Id: I507f353df6e8cdb419c146f410b798d242837386 Signed-off-by: yongsung1.kim --- .../src/org/tizen/installmanager/core/InstallManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InstallManager_java/src/org/tizen/installmanager/core/InstallManager.java b/InstallManager_java/src/org/tizen/installmanager/core/InstallManager.java index da8ca8a..1709c73 100644 --- a/InstallManager_java/src/org/tizen/installmanager/core/InstallManager.java +++ b/InstallManager_java/src/org/tizen/installmanager/core/InstallManager.java @@ -147,7 +147,7 @@ public class InstallManager { private void initPackageManager(Collection repositoryURLs) { File installedPackageListFile = null; - if (Registry.targetPath.equalsIgnoreCase("")) { + if (!Registry.targetPath.equalsIgnoreCase("")) { installedPackageListFile = new File(PathUtil.get( PathUtil.get(Registry.targetPath, Config.INFO_DIRECTORY), Config.INSTALLED_PACKAGE_LIST_FILE_NAME)); -- 2.7.4