aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xtransfugdrake3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6be9720..ed3605f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- make sure XDG directories are created before starting import
+
1.1:
- handle WINNT and lowercase system folder (#34377)
- fix ma-import 0.5.1 usage (by specifying --ostype as last option)
diff --git a/transfugdrake b/transfugdrake
index 8a0241a..f0cf289 100755
--- a/transfugdrake
+++ b/transfugdrake
@@ -161,6 +161,9 @@ my $wiz = wizards->new({
$wiz->process($in);
sub first_step() {
+ #- make sure XDG directories are created
+ system("su - $linux_user -c /usr/bin/xdg-user-dirs-update");
+
@windows_items = transfugdrake::list_windows_items($windows_disk, $windows_user);
@steps = map { $_->[0] } grep { intersection(\@windows_items, $_->[1]) } group_by2(@step_items);
@steps ? next_step() : 'nothing';