diff --git a/install/docker/Dockerfile.full b/install/docker/Dockerfile.full index a68e90e0e7..2b79290415 100644 --- a/install/docker/Dockerfile.full +++ b/install/docker/Dockerfile.full @@ -94,7 +94,7 @@ RUN curl https://raw.githubusercontent.com/koush/scrypted/main/install/docker/in # python 3.9 from ppa. # 3.9 is the version with prebuilt support for tensorflow lite -RUN add-apt-repository ppa:deadsnakes/ppa && \ +RUN add-apt-repository -y ppa:deadsnakes/ppa && \ apt-get -y install \ python3.9 \ python3.9-dev \ diff --git a/install/local/install-scrypted-dependencies-linux.sh b/install/local/install-scrypted-dependencies-linux.sh index eb07a443e6..d4650f78cc 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" ] && [ -z "$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" ]