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:
Viacheslav Reutskiy 2016-11-09 23:23:52 +02:00
parent ddacf8db20
commit 46f32ed424
1 changed files with 0 additions and 13 deletions

View File

@ -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
{