mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
docs/install.sh: don't create root owned .config/rclone directory #2127
This commit is contained in:
parent
66c69fe620
commit
b6058e0106
@ -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 New Issue
Block a user