eet_close(ef);
if (ret)
{
- if (!ecore_file_cp(buf, buf2))
- ERR("Error saving Elementary's derived configuration profile file");
- ecore_file_unlink(buf);
+ if (!ecore_file_mv(buf, buf2))
+ {
+ ERR("Error saving Elementary's derived configuration profile file");
+ ecore_file_unlink(buf);
+ }
}
else
{
goto err;
}
- ret = ecore_file_cp(buf2, buf);
+ ret = ecore_file_mv(buf2, buf);
if (!ret)
{
ERR("Error saving Elementary's configuration profile file");
goto err;
}
- ecore_file_unlink(buf2);
-
derived = _elm_config_derived_load(profile ? profile : _elm_profile);
if (derived)
{
goto err;
}
- ret = ecore_file_cp(buf2, buf);
+ ret = ecore_file_mv(buf2, buf);
if (!ret)
{
ERR("Error saving Elementary's configuration file");
goto err;
}
- ecore_file_unlink(buf2);
return EINA_TRUE;
err: