From f1334f014bfebd0627c08151ab2dbd9b93c2f839 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 11 Jul 2018 19:16:45 -0300 Subject: Create sync and load folders --- profile.dot.link | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3