mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-23 16:01:01 +00:00
Verified before merge: main service image update only; upstream LinuxServer compose requirements reviewed; real 2.61.0 to 2.62.0 upgrade passed with the MariaDB container and 35 tables preserved; APP_SECRET/TRUSTED_HOSTS compatibility fix added for new installs and existing .env files; adapter strict-store passed for versioned and latest packages; logs contained no secret leak or fatal migration error.
15 lines
262 B
Bash
Executable File
15 lines
262 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
paths=(
|
|
"${CONFIG_PATH:-./data/config}"
|
|
"${DB_DATA_PATH:-./data/db}"
|
|
)
|
|
|
|
mkdir -p "${paths[@]}"
|
|
for path in "${paths[@]}"; do
|
|
case "$path" in
|
|
./*|../*) chown -R 1000:1000 "$path" 2>/dev/null || true ;;
|
|
esac
|
|
done
|