diff options
author | Duyoung Jang <duyoung.jang@samsung.com> | 2012-10-11 15:13:02 +0900 |
---|---|---|
committer | Duyoung Jang <duyoung.jang@samsung.com> | 2012-10-11 15:13:02 +0900 |
commit | e130e6dafb08ac07a1a5833f90a7b7794ebe9d3e (patch) | |
tree | bedcf95c1aac6de529a7f495ce26472571dd0883 /src | |
parent | 3efabba92b137535498ec40e5e94ed9e75ebe542 (diff) | |
download | installer-e130e6dafb08ac07a1a5833f90a7b7794ebe9d3e.tar.gz installer-e130e6dafb08ac07a1a5833f90a7b7794ebe9d3e.tar.bz2 installer-e130e6dafb08ac07a1a5833f90a7b7794ebe9d3e.zip |
Change symlink for IME
Change-Id: I3c289dd278652dfef20a4cc41fb0a296478bb882
Diffstat (limited to 'src')
-rwxr-xr-x | src/Manager/ConfigurationManager.cpp | 6 | ||||
-rwxr-xr-x | src/Manager/ConfigurationManager.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Manager/ConfigurationManager.cpp b/src/Manager/ConfigurationManager.cpp index 56971dd..d5378ef 100755 --- a/src/Manager/ConfigurationManager.cpp +++ b/src/Manager/ConfigurationManager.cpp @@ -168,7 +168,7 @@ ConfigurationManager::CreateFile(InstallationContext* pContext) if (category == L"ime") { - CreateImeSymlink(binaryPath, appName); + CreateImeSymlink(binaryPath, packageName); } String typeInfo; @@ -428,7 +428,7 @@ ConfigurationManager::CreateInfoFile(const String& filePath, const String* pCont } bool -ConfigurationManager::CreateImeSymlink(const String& binaryPath, const String& appName) +ConfigurationManager::CreateImeSymlink(const String& binaryPath, const String& packageName) { bool res = true; int err = 0; @@ -441,7 +441,7 @@ ConfigurationManager::CreateImeSymlink(const String& binaryPath, const String& a exePath.Format(1024, L"%ls.exe", binaryPath.GetPointer()); String symlinkPath; - symlinkPath.Format(1024, L"%s/%ls.so", IME_PATH, appName.GetPointer()); + symlinkPath.Format(1024, L"%s/%ls.so", IME_PATH, packageName.GetPointer()); pExePath = _StringConverter::CopyToCharArrayN(exePath); TryCatch(pExePath, res = false, "[osp-installer] pExePath is null"); diff --git a/src/Manager/ConfigurationManager.h b/src/Manager/ConfigurationManager.h index f4a7111..c3ce578 100755 --- a/src/Manager/ConfigurationManager.h +++ b/src/Manager/ConfigurationManager.h @@ -49,7 +49,7 @@ private: bool CreateSystemXmlFile(InstallationContext* pContext); bool CreateHybridServiceDesktopFile(InstallationContext* pContext); bool CreateInfoFile(const Osp::Base::String& filePath, const Osp::Base::String* pContext); - bool CreateImeSymlink(const Osp::Base::String& binaryPath, const Osp::Base::String& appName); + bool CreateImeSymlink(const Osp::Base::String& binaryPath, const Osp::Base::String& packageName); bool FindPrivilege(InstallationContext* pContext, const Osp::Base::String& privilege) const; }; // ConfigurationManager |