summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-03-16 20:44:03 (EDT)
committer P. J. McDermott <pj@pehjota.net>2016-03-16 20:44:03 (EDT)
commitfe71920001801082fcff739a1510b17eba4cd524 (patch)
tree098da6675233272adc9f4cc78647bc5251a52bd4
parent62808f2ba650ff159c9e1d82da0a606a5f77eda4 (diff)
downloadpc-inst-fe71920001801082fcff739a1510b17eba4cd524.zip
pc-inst-fe71920001801082fcff739a1510b17eba4cd524.tar.gz
pc-inst-fe71920001801082fcff739a1510b17eba4cd524.tar.bz2
Create XDG directories
-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"?>