aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xtransfugdrake.pm7
2 files changed, 6 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 96fdca4..ad9ec64 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- handle WINNT and lowercase system folder (#34377)
+- fix ma-import 0.5.1 usage (by specifying --ostype as last option)
1.0:
- really run import if only one linux user and one windows user are detected
diff --git a/transfugdrake.pm b/transfugdrake.pm
index 927df51..4c052ed 100755
--- a/transfugdrake.pm
+++ b/transfugdrake.pm
@@ -58,12 +58,15 @@ sub import_target {
$lc_target =~ s/\s//g;
run_program::raw({ timeout => "never" },
"ma-import",
- "--ostype=windowsxp",
"--fromuser=$win_user",
"--frompath=$win_prefix",
"--touser=$linux_user",
"--topath=/",
- "--target=$lc_target");
+ "--target=$lc_target",
+ #- ostype is better specified last, since it triggers
+ #- some initialization depending on location options
+ "--ostype=windowsxp",
+ );
}
1;