diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c index 8d2545a170..963f17666a 100644 --- a/src/lib/elementary/elm_config.c +++ b/src/lib/elementary/elm_config.c @@ -777,7 +777,8 @@ _elm_config_profile_derived_save(const char *profile, Elm_Config_Derived *derive eet_close(ef); if (ret) { - ecore_file_mv(buf, buf2); + ecore_file_cp(buf, buf2); + ecore_file_unlink(buf); } else { @@ -2217,7 +2218,7 @@ _elm_config_profile_save(const char *profile) goto err; } - ret = ecore_file_mv(buf2, buf); + ret = ecore_file_cp(buf2, buf); if (!ret) { ERR("Error saving Elementary's configuration profile file"); @@ -2310,7 +2311,7 @@ _elm_config_save(Elm_Config *cfg, const char *profile) goto err; } - ret = ecore_file_mv(buf2, buf); + ret = ecore_file_cp(buf2, buf); if (!ret) { ERR("Error saving Elementary's configuration file");