diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-24 13:01:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-24 13:01:11 +0000 |
commit | 98e205909da2f829e7b367cdb8fb1933bd10ef4a (patch) | |
tree | 532138dbec8486c5e7bf5ec634ce6f65f0db9092 | |
parent | 5a5acee712bf6ce9ad7274eaeff87633d9d08389 (diff) | |
download | userdrake-98e205909da2f829e7b367cdb8fb1933bd10ef4a.tar userdrake-98e205909da2f829e7b367cdb8fb1933bd10ef4a.tar.gz userdrake-98e205909da2f829e7b367cdb8fb1933bd10ef4a.tar.bz2 userdrake-98e205909da2f829e7b367cdb8fb1933bd10ef4a.tar.xz userdrake-98e205909da2f829e7b367cdb8fb1933bd10ef4a.zip |
enable to run migration assistant when adding a user
-rwxr-xr-x | userdrake | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 }); |