aboutsummaryrefslogtreecommitdiffstats
path: root/transfugdrake
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-28 17:29:48 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-28 17:29:48 +0000
commit01a98a9e8b11c041d42d968dbf5a56319c680c88 (patch)
treea08d0948ef67e15e24bd58a450086d2769a9015b /transfugdrake
parentef5b63b4b055c9525320e07a768885e2975fba71 (diff)
downloadtransfugdrake-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-xtransfugdrake2
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';