Update 99-run.sh

This commit is contained in:
Alexandre
2026-06-03 10:38:06 +02:00
committed by GitHub
parent 33a4c50d9d
commit 4476f62c77

View File

@@ -65,10 +65,14 @@ mkdir -p /var/log/nginx && touch /var/log/nginx/error.log
# FILEBROWSER CONFIGURATION #
############################
CONFIG_PATH="/config/filebrowser_quantum.yaml"
mkdir -p /config /cache
if [ !-f "$CONFIG_PATH" ]; then
# Add config if not existing
if [ !-f "$FILEBROWSER_CONFIG" ]; then
cp /home/filebrowser/data/config.yaml "$FILEBROWSER_CONFIG"
fi
if [ !-f "$FILEBROWSER_CONFIG" ]; then
python3 - <<'PY'
import json