diff options
author | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2009-04-03 15:28:31 +0000 |
---|---|---|
committer | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2009-04-03 15:28:31 +0000 |
commit | d216165acc8f83d2c96f877a37cb1b550c097284 (patch) | |
tree | c49beb5887eaba924104f0483e4c601ef1405c38 /lib/MDV | |
parent | b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30 (diff) | |
download | draksnapshot-d216165acc8f83d2c96f877a37cb1b550c097284.tar draksnapshot-d216165acc8f83d2c96f877a37cb1b550c097284.tar.gz draksnapshot-d216165acc8f83d2c96f877a37cb1b550c097284.tar.bz2 draksnapshot-d216165acc8f83d2c96f877a37cb1b550c097284.tar.xz draksnapshot-d216165acc8f83d2c96f877a37cb1b550c097284.zip |
(configure) display a success message before quitting
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@255443 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'lib/MDV')
-rw-r--r-- | lib/MDV/Snapshot/Restore.pm | 7 |
1 files changed, 7 insertions, 0 deletions
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"), + }, []); } |