summaryrefslogtreecommitdiffstats
path: root/hosts/cam1
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/cam1')
-rw-r--r--hosts/cam13
1 files changed, 2 insertions, 1 deletions
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.