From 3b742bdaa43abe5b0c658ced7591bd73d6733ce4 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Sun, 10 Apr 2022 17:07:03 +0700 Subject: [PATCH] Fix install path error --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index cc4c79e..76af0b2 100755 --- a/scripts/install +++ b/scripts/install @@ -156,7 +156,7 @@ install_docker_compose() { install_umbrel() { version=$(get_umbrel_version) curl --location "https://api.github.com/repos/${UMBREL_REPO}/tarball/${version}" | \ - tar --extract --gzip --strip-components=1 --directory="${INSTALL_PATH}" + tar --extract --gzip --strip-components=1 --directory="${UMBREL_INSTALL_PATH}" } main() { @@ -174,10 +174,10 @@ main() { if [[ "${INSTALL_UMBREL}" = "true" ]] then - mkdir -p "${INSTALL_PATH}" - if [[ "$(ls --almost-all "${INSTALL_PATH}")" ]] + mkdir -p "${UMBREL_INSTALL_PATH}" + if [[ "$(ls --almost-all "${UMBREL_INSTALL_PATH}")" ]] then - echo "Error: Umbrel install path \"${INSTALL_PATH}\" already contains files" + echo "Error: Umbrel install path \"${UMBREL_INSTALL_PATH}\" already contains files" exit 1 fi fi