diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-07-11 19:16:45 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-07-11 19:16:45 -0300 |
commit | f1334f014bfebd0627c08151ab2dbd9b93c2f839 (patch) | |
tree | 0529716585a8857d8764406854f67d52f0c4ed3c | |
parent | 8b6afe5c8c6db848ce6d1be4a367c95fae223d91 (diff) | |
download | profile-f1334f014bfebd0627c08151ab2dbd9b93c2f839.tar.gz profile-f1334f014bfebd0627c08151ab2dbd9b93c2f839.tar.bz2 |
Create sync and load folders
-rw-r--r-- | profile.dot.link | 4 |
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 |