install.sh: create ~/.config/rclone directory

This allows people with their config already made copy their config to the new server(s), without having to create the directories.
s3-about
jtagcat 2020-01-22 23:35:29 +00:00 committed by Nick Craig-Wood
parent 9c858c3228
commit d694bb30e5
1 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,8 @@ esac
#update version variable post install
version=`rclone --version 2>>errors | head -n 1`
#create the directory for the default configuration folder
mkdir $HOME/.config/rclone -p
printf "\n${version} has successfully installed."
printf '\nNow run "rclone config" for setup. Check https://rclone.org/docs/ for more details.\n\n'