daemon: do not delete folder with config
In this folder save the elementary_config, so if it will be delete on each start user can not save his configs, like scale. So, do not remove this folder on start
This commit is contained in:
parent
ddacf8db20
commit
46f32ed424
|
@ -232,19 +232,6 @@ _entrance_main(const char *dname)
|
|||
chown(ENTRANCE_CONFIG_HOME_PATH,
|
||||
pwd->pw_uid, pwd->pw_gid);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!ecore_file_is_dir(ENTRANCE_CONFIG_HOME_PATH))
|
||||
{
|
||||
PT("Hum a file already exists here "
|
||||
ENTRANCE_CONFIG_HOME_PATH" sorry but"
|
||||
"I remove it, I need it ^^");
|
||||
ecore_file_remove(ENTRANCE_CONFIG_HOME_PATH);
|
||||
ecore_file_mkdir(ENTRANCE_CONFIG_HOME_PATH);
|
||||
chown(ENTRANCE_CONFIG_HOME_PATH,
|
||||
pwd->pw_uid, pwd->pw_gid);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue