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 | |
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
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | lib/MDV/Snapshot/Restore.pm | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -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"), + }, []); } |