appstore-1panel/apps/discourse/3.3.2/scripts/upgrade.sh
renovate[bot] 68447c32dc
chore(deps): update bitnami/discourse docker tag to v3.3.2 (#2253)
* chore(deps): update bitnami/discourse docker tag to v3.3.2

* 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-10-09 14:06:38 +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