From d216165acc8f83d2c96f877a37cb1b550c097284 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 3 Apr 2009 15:28:31 +0000 Subject: (configure) display a success message before quitting git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@255443 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94 --- NEWS | 1 + lib/MDV/Snapshot/Restore.pm | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/NEWS b/NEWS index 9bc4d26..ad74fe1 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ - draksnapshot-restore o do not try to mount '/' + o display a success message before quitting Version 0.19.2 - 30 March 2009, Thierry Vignaud diff --git a/lib/MDV/Snapshot/Restore.pm b/lib/MDV/Snapshot/Restore.pm index 5f616c3..28f9304 100644 --- a/lib/MDV/Snapshot/Restore.pm +++ b/lib/MDV/Snapshot/Restore.pm @@ -134,6 +134,13 @@ sub configure { # FIXME: should we use --delete? run_program::run('rsync', '-vrlpt', $dir, "$::prefix$_") if !$::testing; } + undef $_wait; + $in->ask_from_no_check( + { + title => N("Congratulations"), + messages => N("Congratulations, restoration is complete."), + ok => $::isStandalone || $::local_install ? N("Quit") : N("Reboot"), + }, []); } -- cgit v1.2.1