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 <yongsung1.kim@samsung.com>
private void initPackageManager(Collection<String> 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));