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.
This commit is contained in:
parent
9c858c3228
commit
d694bb30e5
1 changed files with 2 additions and 0 deletions
|
@ -187,6 +187,8 @@ esac
|
||||||
|
|
||||||
#update version variable post install
|
#update version variable post install
|
||||||
version=`rclone --version 2>>errors | head -n 1`
|
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 "\n${version} has successfully installed."
|
||||||
printf '\nNow run "rclone config" for setup. Check https://rclone.org/docs/ for more details.\n\n'
|
printf '\nNow run "rclone config" for setup. Check https://rclone.org/docs/ for more details.\n\n'
|
||||||
|
|
Loading…
Reference in a new issue