docs/install.sh: don't create root owned .config/rclone directory #2127
This commit is contained in:
parent
66c69fe620
commit
b6058e0106
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue