mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-16 01:07:11 +08:00
feat: update OpenList 4.0.8
This commit is contained in:
12
apps/openlist/4.0.8-ffmpeg/scripts/upgrade.sh
Normal file
12
apps/openlist/4.0.8-ffmpeg/scripts/upgrade.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ -f ./.env ]]; then
|
||||
if grep -q 'PANEL_APP_PORT_S3' ./.env; then
|
||||
echo "PANEL_APP_PORT_S3 参数已存在"
|
||||
else
|
||||
echo 'PANEL_APP_PORT_S3=5426' >> ./.env
|
||||
echo "已添加 PANEL_APP_PORT_S3=5426"
|
||||
fi
|
||||
else
|
||||
echo ".env 文件不存在"
|
||||
fi
|
||||
Reference in New Issue
Block a user