From 98e205909da2f829e7b367cdb8fb1933bd10ef4a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Sep 2007 13:01:11 +0000 Subject: enable to run migration assistant when adding a user --- userdrake | 5 +++++ 1 file changed, 5 insertions(+) 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 }); -- cgit v1.2.1