forked from enlightenment/efl
parent
f6cb6541e3
commit
15a241534c
|
@ -392,6 +392,19 @@ main(int argc, char **argv)
|
||||||
/* rename tmp files to real files */
|
/* rename tmp files to real files */
|
||||||
if (rename(util_file, efreet_desktop_util_cache_file()) < 0) goto error;
|
if (rename(util_file, efreet_desktop_util_cache_file()) < 0) goto error;
|
||||||
if (rename(file, efreet_desktop_cache_file()) < 0) goto error;
|
if (rename(file, efreet_desktop_cache_file()) < 0) goto error;
|
||||||
|
|
||||||
|
/* touch update file */
|
||||||
|
snprintf(file, sizeof(file), "%s/.efreet/desktop_data.update", efreet_home_dir_get());
|
||||||
|
tmpfd = open(file, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
|
||||||
|
if (tmpfd >= 0)
|
||||||
|
{
|
||||||
|
struct timeval tv[2];
|
||||||
|
|
||||||
|
gettimeofday(&tv[0], NULL);
|
||||||
|
tv[1] = tv[0];
|
||||||
|
futimes(tmpfd, tv);
|
||||||
|
close(tmpfd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -440,6 +440,18 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
eina_list_free(extensions);
|
eina_list_free(extensions);
|
||||||
|
|
||||||
|
/* touch update file */
|
||||||
|
snprintf(file, sizeof(file), "%s/.efreet/icon_data.update", efreet_home_dir_get());
|
||||||
|
tmpfd = open(file, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
|
||||||
|
if (tmpfd >= 0)
|
||||||
|
{
|
||||||
|
struct timeval tv[2];
|
||||||
|
|
||||||
|
gettimeofday(&tv[0], NULL);
|
||||||
|
tv[1] = tv[0];
|
||||||
|
futimes(tmpfd, tv);
|
||||||
|
close(tmpfd);
|
||||||
|
}
|
||||||
efreet_shutdown();
|
efreet_shutdown();
|
||||||
ecore_shutdown();
|
ecore_shutdown();
|
||||||
eet_shutdown();
|
eet_shutdown();
|
||||||
|
|
Loading…
Reference in New Issue