summaryrefslogtreecommitdiffstats
path: root/hosts/alsvid2
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-04-09 23:30:28 (EDT)
committer P. J. McDermott <pj@pehjota.net>2016-04-12 14:08:44 (EDT)
commitc59a75805af0fff9566ee22245696614ce9a508b (patch)
treed43d5d7251fb83642b12d692871bb8c42d87f60e /hosts/alsvid2
parent59ca728e9f4be0d22f0e8793858e1113db446b73 (diff)
downloadpc-inst-c59a75805af0fff9566ee22245696614ce9a508b.zip
pc-inst-c59a75805af0fff9566ee22245696614ce9a508b.tar.gz
pc-inst-c59a75805af0fff9566ee22245696614ce9a508b.tar.bz2
Fix XDG directory creation
Diffstat (limited to 'hosts/alsvid2')
-rw-r--r--hosts/alsvid23
1 files changed, 2 insertions, 1 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.