backup: ask user to update templates after restoring backup

To install all the fixes and to update applications + icons.

Fixes QubesOS/qubes-issues#2150
This commit is contained in:
Marek Marczykowski-Górecki 2016-07-16 21:23:58 +02:00
parent 521e96f2c3
commit c5d03cc32e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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: