aboutsummaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-01 14:32:21 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-01 14:32:21 -0200
commit553c601068271a2f596ca3e5d53182f5395b369d (patch)
treee0c21708e1f58d1156ed876de0f549c5c29f39a8 /modules/profile
parent6b132b42c66d2a40519bfb30b1cd701452e6050f (diff)
downloadmetadot-553c601068271a2f596ca3e5d53182f5395b369d.tar.gz
metadot-553c601068271a2f596ca3e5d53182f5395b369d.tar.bz2
Make sure basic folder structure exists in profile
Diffstat (limited to 'modules/profile')
-rw-r--r--modules/profile/profile.dot.link3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/profile/profile.dot.link b/modules/profile/profile.dot.link
index b67991d..4c4849a 100644
--- a/modules/profile/profile.dot.link
+++ b/modules/profile/profile.dot.link
@@ -40,6 +40,9 @@ if [ -d "$HOME/lost+found" ]; then
rmdir $HOME/lost+found &> /dev/null
fi
+# Make sure basic folder structure exists
+mkdir -p $HOME/{apps,file,html,mail,temp}
+
# Custom configuration
if [ -e "$HOME/.custom/profile" ]; then
. $HOME/.custom/profile