summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hosts/alsvid23
-rw-r--r--hosts/cam13
2 files changed, 4 insertions, 2 deletions
diff --git a/hosts/alsvid2 b/hosts/alsvid2
index 06b2e7e..c8d0cd3 100644
--- a/hosts/alsvid2
+++ b/hosts/alsvid2
@@ -215,7 +215,8 @@ do_postinst()
# Create XDG directories.
sed 's/#.*$//; /^$/d;' "${target}/home/pj/.config/user-dirs.dirs" | \
while IFS='=' read var val; do
- eval "mkdir '${target}/home/pj/'${val}"
+ HOME='/home/pj'
+ eval "mkdir '${target}/'${val}"
done
# Add empty folder list to prevent Claws Mail wizard from running.
diff --git a/hosts/cam1 b/hosts/cam1
index f080e2b..d9f3d8f 100644
--- a/hosts/cam1
+++ b/hosts/cam1
@@ -169,7 +169,8 @@ do_postinst()
# Create XDG directories.
sed 's/#.*$//; /^$/d;' "${target}/home/cam/.config/user-dirs.dirs" | \
while IFS='=' read var val; do
- eval "mkdir '${target}/home/cam/'${val}"
+ HOME='/home/cam'
+ eval "mkdir '${target}/'${val}"
done
# Generate target's SSH keypair.