summaryrefslogtreecommitdiffstats
path: root/hosts/alsvid200
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/alsvid200')
-rw-r--r--hosts/alsvid2006
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/alsvid200 b/hosts/alsvid200
index 8bc36aa..11535be 100644
--- a/hosts/alsvid200
+++ b/hosts/alsvid200
@@ -208,6 +208,12 @@ do_postinst()
gpicview gimp gtk kicad midori mpd mpv redshift roxterm \
xdg-user-dirs xscreensaver
+ # 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}"
+ done
+
# Add empty folder list to prevent Claws Mail wizard from running.
cat >"${target}/home/pj/.claws-mail/folderlist.xml" <<-EOF
<?xml version="1.0" encoding="UTF-8"?>