aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile.dot.link4
1 files changed, 3 insertions, 1 deletions
diff --git a/profile.dot.link b/profile.dot.link
index 0d71784..a0d5ae6 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -228,7 +228,7 @@ if [ -d "$HOME/lost+found" ]; then
fi
# Make sure basic folder structure exists
-mkdir -p $HOME/apps $HOME/file $HOME/mail $HOME/temp/public
+mkdir -p $HOME/apps $HOME/file $HOME/mail $HOME/sync $HOME/temp/public
# Make sure data symlink exists
if [ -e "/var/data" ] && [ ! -e "$HOME/data" ]; then
@@ -243,6 +243,8 @@ fi
# Make sure download symlink exists
if [ -e "/var/data/load" ] && [ ! -e "$HOME/load" ]; then
ln -s /var/data/load $HOME/load
+elif [ ! -e "$HOME/load" ]; then
+ mkdir -p $HOME/load
fi
# Custom configuration