From 25e678a2a0c03d4bef159976ec6ce54a84013694 Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 7 Apr 2021 18:22:39 +0800 Subject: [PATCH] dev --- docker/docker-entrypoint.sh | 4 ++-- sample/{auth.json => auth.sample.json} | 0 shell/share.sh | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename sample/{auth.json => auth.sample.json} (100%) diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 2610e2a7..d9887808 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -30,9 +30,9 @@ if [ ! -s ${QL_DIR}/config/config.sh ]; then echo fi -if [ ! -s ${QL_DIR}/config/auth.json ]; then +if [ ! -s ${QL_DIR}/config/auth.sample.json ]; then echo -e "检测到config配置目录下不存在auth.json,从示例文件复制一份用于初始化...\n" - cp -fv ${QL_DIR}/sample/auth.json ${QL_DIR}/config/auth.json + cp -fv ${QL_DIR}/sample/auth.sample.json ${QL_DIR}/config/auth.json echo fi diff --git a/sample/auth.json b/sample/auth.sample.json similarity index 100% rename from sample/auth.json rename to sample/auth.sample.json diff --git a/shell/share.sh b/shell/share.sh index ad704031..820f4d34 100644 --- a/shell/share.sh +++ b/shell/share.sh @@ -1,4 +1,5 @@ ## 目录 +dir_sample=$dir_root/sample dir_config=$dir_root/config dir_scripts=$dir_root/scripts dir_raw=$dir_scripts/raw