From c5d03cc32e17cb474f13bebf51f909bbf5fe532d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 16 Jul 2016 21:23:58 +0200 Subject: [PATCH] backup: ask user to update templates after restoring backup To install all the fixes and to update applications + icons. Fixes QubesOS/qubes-issues#2150 --- core/backup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/backup.py b/core/backup.py index 9c455e24..390457b3 100644 --- a/core/backup.py +++ b/core/backup.py @@ -2305,6 +2305,10 @@ def backup_restore_do(restore_info, if retcode != 0: error_callback("*** Error while setting home directory owner") + if callable(print_callback): + print_callback("-> Done. Please install updates for all the restored " + "templates.") + shutil.rmtree(restore_tmpdir) # vim:sw=4:et: