1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-04-13 01:42:30 +08:00
2024-08-01 18:24:11 +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