diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-28 17:29:48 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-28 17:29:48 +0000 |
commit | 01a98a9e8b11c041d42d968dbf5a56319c680c88 (patch) | |
tree | a08d0948ef67e15e24bd58a450086d2769a9015b /transfugdrake | |
parent | ef5b63b4b055c9525320e07a768885e2975fba71 (diff) | |
download | transfugdrake-01a98a9e8b11c041d42d968dbf5a56319c680c88.tar transfugdrake-01a98a9e8b11c041d42d968dbf5a56319c680c88.tar.gz transfugdrake-01a98a9e8b11c041d42d968dbf5a56319c680c88.tar.bz2 transfugdrake-01a98a9e8b11c041d42d968dbf5a56319c680c88.tar.xz transfugdrake-01a98a9e8b11c041d42d968dbf5a56319c680c88.zip |
do not allow to continue if no windows user is detected
Diffstat (limited to 'transfugdrake')
-rwxr-xr-x | transfugdrake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transfugdrake b/transfugdrake index 055e5ee..0138fdb 100755 --- a/transfugdrake +++ b/transfugdrake @@ -43,7 +43,7 @@ my $wiz = wizards->new({ welcome => { name => N("This wizard will help you to import Windows documents and settings in your %s distribution.", $distrib{system}) . "\n" . N("It allows two different migration methods: you can either import all documents and settings by copying them in your home directory, or share them between operating systems."), post => sub { - $windows_disk or return 'no_windows'; + @windows_users or return 'no_windows'; $linux_user = @linux_users == 1 && $linux_users[0]; $windows_user = @windows_users == 1 && $windows_users[0]; !$linux_user || !$windows_user ? 'users' : 'files'; |