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
devs/rimmed/entrance2
Viacheslav Reutskiy 6 years ago
parent ddacf8db20
commit 46f32ed424
  1. 13
      src/daemon/entrance.c

@ -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…
Cancel
Save