Bazaar/Updater : changed RealizePath() with RealizeDirectory() -- was failing install on linux

git-svn-id: svn://ultimatepp.org/upp/trunk@4610 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
micio 2012-02-21 11:55:15 +00:00
parent 62a4fd721a
commit a0f765de04

View file

@ -638,8 +638,8 @@ bool Updater::FetchApp(ProductVersion ver, bool devel)
else
FileCopy(appServerPath, destPath);
#ifdef PLATFORM_POSIX
if(chmod(~destPath, 0755) != 0)
return false;
if(chmod(~destPath, 0755) != 0)
return false;
#endif
// stores current version inside system config path
@ -661,11 +661,11 @@ bool Updater::Run()
{
// create user config path only on normal run
if(state == NormalRun)
RealizePath(userConfigPath);
RealizeDirectory(userConfigPath);
// creates system config path on superuser mode
if(state == InsideUpdater)
RealizePath(systemConfigPath);
RealizeDirectory(systemConfigPath);
switch(state)
{