appstore-1panel/apps/discourse/3.3.0/scripts/upgrade.sh
renovate[bot] cad6bdf60c
chore(deps): update bitnami/discourse docker tag to v3.3.0 (#1898)
* chore(deps): update bitnami/discourse docker tag to v3.3.0

* 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-08-13 10:18:27 +08:00

11 lines
238 B
Bash

#!/bin/bash
if [[ -f ./.env ]]; then
if grep -q "DISCOURSE_SKIP_BOOTSTRAP" ./.env; then
echo "DISCOURSE_SKIP_BOOTSTRAP 已存在"
else
echo 'DISCOURSE_SKIP_BOOTSTRAP="yes"' >> ./.env
fi
else
echo ".env 文件不存在"
fi