From e48812cec7c6cffda7ccb13196cb0434c8f81a9a Mon Sep 17 00:00:00 2001 From: Koushik Dutta <koushd@gmail.com> Date: Tue, 26 Dec 2023 13:53:46 -0800 Subject: [PATCH] linux: SERVICE_USER_ROOT flag --- install/local/install-scrypted-dependencies-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/local/install-scrypted-dependencies-linux.sh b/install/local/install-scrypted-dependencies-linux.sh index 89601876dc..eb07a443e6 100755 --- a/install/local/install-scrypted-dependencies-linux.sh +++ b/install/local/install-scrypted-dependencies-linux.sh @@ -23,7 +23,7 @@ function readyn() { done } -if [ "$SERVICE_USER" == "root" ] +if [ "$SERVICE_USER" == "root" ] && [ -z "$SERVICE_USER_ROOT"] then readyn "Scrypted will store its files in the root user home directory. Running as a non-root user is recommended. Are you sure?" if [ "$yn" == "n" ]