[evolution] Change path where backup/restore searches for the .running file
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Change path where backup/restore searches for the .running file
- Date: Mon, 3 Jun 2019 12:20:54 +0000 (UTC)
commit c8485f4bf99cc2a940f33bdaabf560300d22656b
Author: Milan Crha <mcrha redhat com>
Date: Mon Jun 3 14:20:28 2019 +0200
Change path where backup/restore searches for the .running file
It had been looking for it in the data dir, aka ~/.local/share/evolution/,
bug evolution stores it in the config dir, aka ~/.config/evolution/.
src/modules/backup-restore/evolution-backup-tool.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/modules/backup-restore/evolution-backup-tool.c
b/src/modules/backup-restore/evolution-backup-tool.c
index 735b18459b..c8b80f004d 100644
--- a/src/modules/backup-restore/evolution-backup-tool.c
+++ b/src/modules/backup-restore/evolution-backup-tool.c
@@ -295,7 +295,7 @@ backup (const gchar *filename,
/* FIXME Will the versioned setting always work? */
run_cmd (EVOLUTION " --quit");
- run_cmd ("rm $DATADIR/.running");
+ run_cmd ("rm $CONFIGDIR/.running");
if (g_cancellable_is_cancelled (cancellable))
return;
@@ -676,7 +676,7 @@ restore (const gchar *filename,
txt = _("Removing temporary back up files");
run_cmd ("rm -rf $DATADIR_old");
run_cmd ("rm -rf $CONFIGDIR_old");
- run_cmd ("rm $DATADIR/.running");
+ run_cmd ("rm $CONFIGDIR/.running");
if (!is_new_format)
run_cmd ("rm -rf $HOME/.evolution_old");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]