docs/install.sh: don't create root owned .config/rclone directory #2127

This commit is contained in:
Nick Craig-Wood 2018-03-10 10:37:55 +00:00
parent 66c69fe620
commit b6058e0106

View File

@ -46,6 +46,9 @@ if [ -z "${unzip_tool}" ]; then
exit 4
fi
# Make sure we don't create a root owned .config/rclone directory #2127
export XDG_CONFIG_HOME=config
#check installed version of rclone to determine if update is necessary
version=`rclone --version 2>>errors | head -n 1`
if [ -z "${install_beta}" ]; then