From f330b9de8839e9810a003cdd56cf963aef2d98de Mon Sep 17 00:00:00 2001 From: Newnius Date: Wed, 4 Dec 2019 19:21:06 +0800 Subject: [PATCH] update yao-portal --- yao-portal/dev/bootstrap.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yao-portal/dev/bootstrap.sh b/yao-portal/dev/bootstrap.sh index 3640e20..8d871a2 100755 --- a/yao-portal/dev/bootstrap.sh +++ b/yao-portal/dev/bootstrap.sh @@ -1,5 +1,9 @@ #!/bin/bash +if [[ ! -f /var/www/html/config.inc.php ]]; then + cp /var/www/html/config-sample.inc.php /var/www/html/config.inc.php +fi + if [[ -d /config/ ]]; then if [[ ! -f /config/config.inc.php ]]; then cp /var/www/html/config.inc.php /config/config.inc.php