Update install-tr-control.sh

Allow manual path to be submitted for "auto".

eg:
./install-tr-control.sh auto /volume1/docker/transmission
This commit is contained in:
programatix 2021-08-25 21:34:23 +08:00 committed by GitHub
parent 3011d7c427
commit f0ffba140c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,7 @@ MSG_NON_ROOT_USER="Unable to confirm if it is currently root, the installation m
# 是否自动安装
if [ "$ARG1" = "auto" ]; then
AUTOINSTALL=1
ROOT_FOLDER=$2
else
ROOT_FOLDER=$ARG1
fi