mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
chore: update installation script to create a nested scripts directory and adjust file paths for initialization script
This commit is contained in:
parent
2958d1c06a
commit
0a231ff5ad
1 changed files with 3 additions and 3 deletions
|
|
@ -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 ──────────────────────────────────────────────────────────────
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue