mirror of
https://github.com/rclone/rclone.git
synced 2025-03-17 20:27:52 +02: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
|
exit 4
|
||||||
fi
|
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
|
#check installed version of rclone to determine if update is necessary
|
||||||
version=`rclone --version 2>>errors | head -n 1`
|
version=`rclone --version 2>>errors | head -n 1`
|
||||||
if [ -z "${install_beta}" ]; then
|
if [ -z "${install_beta}" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user