appstore-1panel/apps/alist/3.37.3/scripts/upgrade.sh
renovate[bot] 8e5df268aa
chore(deps): update xhofe/alist docker tag to v3.37.3 (#2131)
* chore(deps): update xhofe/alist docker tag to v3.37.3

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2024-09-18 13:54:13 +08:00

13 lines
267 B
Bash

#!/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