From 0a231ff5ad29df3b0e429abd20148759b2740af2 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Wed, 25 Feb 2026 00:26:00 +0530 Subject: [PATCH] chore: update installation script to create a nested scripts directory and adjust file paths for initialization script --- docker/scripts/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/scripts/install.sh b/docker/scripts/install.sh index 2d7308023..21d214de3 100644 --- a/docker/scripts/install.sh +++ b/docker/scripts/install.sh @@ -32,13 +32,13 @@ fi # ── Download files ─────────────────────────────────────────────────────────── info "Creating installation directory: ${INSTALL_DIR}" -mkdir -p "${INSTALL_DIR}" +mkdir -p "${INSTALL_DIR}/scripts" FILES=( "docker/docker-compose.yml:docker-compose.yml" "docker/.env.example:.env.example" "docker/postgresql.conf:postgresql.conf" - "docker/scripts/init-electric-user.sh:init-electric-user.sh" + "docker/scripts/init-electric-user.sh:scripts/init-electric-user.sh" ) for entry in "${FILES[@]}"; do @@ -48,7 +48,7 @@ for entry in "${FILES[@]}"; do curl -fsSL "${REPO_RAW}/${src}" -o "${INSTALL_DIR}/${dest}" || error "Failed to download ${src}" done -chmod +x "${INSTALL_DIR}/init-electric-user.sh" +chmod +x "${INSTALL_DIR}/scripts/init-electric-user.sh" # ── Set up .env ──────────────────────────────────────────────────────────────