From c8485f4bf99cc2a940f33bdaabf560300d22656b Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 3 Jun 2019 14:20:28 +0200 Subject: [PATCH] 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");