From 4608c52df9cafb1fac6f650ec3f415a0c6d67c5b Mon Sep 17 00:00:00 2001 From: Meng Sen Date: Mon, 17 Feb 2025 11:23:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Meng Sen --- apps/glance/0.7.2/scripts/init.sh | 6 +++--- apps/glance/0.7.2/scripts/upgrade.sh | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/glance/0.7.2/scripts/init.sh b/apps/glance/0.7.2/scripts/init.sh index 2195dc928..ecfa16a43 100644 --- a/apps/glance/0.7.2/scripts/init.sh +++ b/apps/glance/0.7.2/scripts/init.sh @@ -10,10 +10,10 @@ if [ -f .env ]; then echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env - mkdir -p "$APP_NAME_ROOT_PATH" - mkdir -p "$APP_NAME_ROOT_PATH/app" + mkdir -p "$GLANCE_ROOT_PATH" + mkdir -p "$GLANCE_ROOT_PATH/app" - cp ./conf/glance.yml "$APP_NAME_ROOT_PATH/app/glance.yml" + cp ./conf/glance.yml "$GLANCE_ROOT_PATH/app/glance.yml" echo "Check Finish." diff --git a/apps/glance/0.7.2/scripts/upgrade.sh b/apps/glance/0.7.2/scripts/upgrade.sh index 0be9bfe0c..fda819a40 100644 --- a/apps/glance/0.7.2/scripts/upgrade.sh +++ b/apps/glance/0.7.2/scripts/upgrade.sh @@ -10,11 +10,11 @@ if [ -f .env ]; then echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env - mkdir -p "$APP_NAME_ROOT_PATH" - mkdir -p "$APP_NAME_ROOT_PATH/app" + mkdir -p "$GLANCE_ROOT_PATH" + mkdir -p "$GLANCE_ROOT_PATH/app" - if [ ! -f "$APP_NAME_ROOT_PATH/app/glance.yml" ]; then - cp ./conf/glance.yml "$APP_NAME_ROOT_PATH/app/glance.yml" + if [ ! -f "$GLANCE_ROOT_PATH/app/glance.yml" ]; then + cp ./conf/glance.yml "$GLANCE_ROOT_PATH/app/glance.yml" fi echo "Check Finish."