Files
appstore/apps/modmanager-linuxserver/latest/scripts/upgrade.sh
T
okxlin e0e1461710 Formize LinuxServer GUI sidebar title settings
Add SELKIES_UI_TITLE to upstream-confirmed LinuxServer Selkies GUI apps so the sidebar title can be configured from the 1Panel install form while preserving the upstream default.

Also update modmanager upgrade scripts to honor MODCACHE_PATH instead of hardcoding ./data/modcache.

Validation: git diff --check; static audit issues=0; path script audit issues=0; docker compose config failures=0; 1Panel smoke passed for firefox-linuxserver latest and webtop-linuxserver latest.
2026-06-26 02:49:00 +08:00

14 lines
235 B
Bash
Executable File

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