aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-10-03 14:46:56 +0000
committerOlivier Blin <oblin@mandriva.com>2007-10-03 14:46:56 +0000
commit1f9926c5ac69d259d7f41d82a3dcdd16ad899418 (patch)
tree1318a445a0c26665621cb3a97a49688e9d1ee23f
parente9cedd36d5fb1138cbeb57c6071d2188de3a2417 (diff)
downloadtransfugdrake-1f9926c5ac69d259d7f41d82a3dcdd16ad899418.tar
transfugdrake-1f9926c5ac69d259d7f41d82a3dcdd16ad899418.tar.gz
transfugdrake-1f9926c5ac69d259d7f41d82a3dcdd16ad899418.tar.bz2
transfugdrake-1f9926c5ac69d259d7f41d82a3dcdd16ad899418.tar.xz
transfugdrake-1f9926c5ac69d259d7f41d82a3dcdd16ad899418.zip
fix ma-import 0.5.1 usage (by specifying --ostype as last option)
-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;