Files
appstore/apps/piper-linuxserver/2.4.2/scripts/init.sh
T
okxlin 59b0c292dd Update piper-linuxserver app
Rebuilt-from-PR: #5867
Source-PR: https://github.com/okxlin/appstore/pull/5867
Maintainer-workflow: appstore-pr-maintainer
2026-08-21 13:35:35 +08:00

14 lines
231 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
paths=(
"${CONFIG_PATH:-./data/config}"
)
mkdir -p "${paths[@]}"
for path in "${paths[@]}"; do
case "$path" in
./*|../*) chown -R 1000:1000 "$path" 2>/dev/null || true ;;
esac
done