From b6058e0106cb9f155a2e3d5a575dd74c3457bfc7 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 10 Mar 2018 10:37:55 +0000 Subject: [PATCH] docs/install.sh: don't create root owned .config/rclone directory #2127 --- docs/content/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/content/install.sh b/docs/content/install.sh index 58c56ee9b..e4488354f 100755 --- a/docs/content/install.sh +++ b/docs/content/install.sh @@ -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