This commit is contained in:
anonymous 2021-04-07 18:22:39 +08:00
parent 3c9960f7f6
commit 25e678a2a0
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -1,4 +1,5 @@
## 目录
dir_sample=$dir_root/sample
dir_config=$dir_root/config
dir_scripts=$dir_root/scripts
dir_raw=$dir_scripts/raw