From: Silvio Rhatto Date: Fri, 1 Feb 2013 16:32:21 +0000 (-0200) Subject: Make sure basic folder structure exists in profile X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=553c601068271a2f596ca3e5d53182f5395b369d;p=metadot.git Make sure basic folder structure exists in profile --- 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