mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
62a4fd721a
commit
a0f765de04
1 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue