From 8b3cfe9bb307aaf5f8d3f53f73ac8c874d8f4bb1 Mon Sep 17 00:00:00 2001 From: somew1nd Date: Fri, 4 Sep 2026 11:48:50 -0700 Subject: [PATCH] fix(start.sh): remove invalid local keyword outside functions --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 92114d3..a96b589 100755 --- a/start.sh +++ b/start.sh @@ -136,7 +136,7 @@ if [ ${#MISSING_CORE[@]} -gt 0 ]; then fi elif [ "${OS_NAME}" = "Linux" ]; then if request_sudo "install missing system components (${MISSING_CORE[*]})"; then - local SUDO_PREFIX="" + SUDO_PREFIX="" if [ "$(id -u)" -ne 0 ]; then SUDO_PREFIX="sudo"; fi if command -v apt-get >/dev/null 2>&1; then ${SUDO_PREFIX} apt-get update -qq && ${SUDO_PREFIX} apt-get install -y -qq "${MISSING_CORE[@]}" || true @@ -211,7 +211,7 @@ if [ ! -f "${SHOWCASE_INDEX}" ] && [ ! -f "${SHOWCASE_INDEX_ALT1}" ] && [ ! -f " brew install node >/dev/null 2>&1 || true elif [ "${OS_NAME}" = "Linux" ]; then if request_sudo "install Node.js and npm"; then - local SUDO_PREFIX="" + SUDO_PREFIX="" if [ "$(id -u)" -ne 0 ]; then SUDO_PREFIX="sudo"; fi if command -v apt-get >/dev/null 2>&1; then ${SUDO_PREFIX} apt-get update -qq && ${SUDO_PREFIX} apt-get install -y -qq nodejs npm || true