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 --- lib/MDV/Snapshot/Restore.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/MDV') 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