aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xuserdrake5
1 files changed, 5 insertions, 0 deletions
diff --git a/userdrake b/userdrake
index c49e0dc..c8a71c2 100755
--- a/userdrake
+++ b/userdrake
@@ -24,6 +24,7 @@
use strict;
use lib qw(/usr/lib/libDrakX);
use standalone;
+use transfugdrake;
use common;
use run_program;
@@ -387,6 +388,10 @@ sub AddUser() {
$ctx->UserSetPass($userEnt, $u{passwd});
defined $us->{o}{iconval} and any::addKdmIcon($u{username}, $us->{o}{iconval});
Refresh($sysfilter, $stringsearch);
+ transfugdrake::get_windows_disk()
+ and $in->ask_yesorno(N("Migration wizard"),
+ N("Do you want to run the migration wizard in order to import Windows documents and settings in your Mandriva Linux distribution?"))
+ and run_program::raw({ detach => 1 }, 'transfugdrake');
}
}
!$error and $w->destroy; $error = 0 });