mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-24 17:55:10 +08:00
爱影CMS 测试
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
2cdc2bf4e0
commit
ef5e567519
@ -9,7 +9,16 @@ if [ -f .env ]; then
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
if [ ! -d "$IYCMS_ROOT_PATH/config" ]; then
|
||||
cp -r ./config "$IYCMS_ROOT_PATH/config"
|
||||
mkdir -p "$IYCMS_ROOT_PATH/config"
|
||||
fi
|
||||
|
||||
if [ -d "$IYCMS_ROOT_PATH/config/config.conf" ]; then
|
||||
rm -r "$IYCMS_ROOT_PATH/config/config.conf"
|
||||
touch "$IYCMS_ROOT_PATH/config/config.conf"
|
||||
elif [ ! -f "$IYCMS_ROOT_PATH/config/config.conf" ]; then
|
||||
cp ./config/config.conf "$IYCMS_ROOT_PATH/config/config.conf"
|
||||
else
|
||||
echo "config.conf cp error."
|
||||
fi
|
||||
|
||||
echo "Check Finish."
|
||||
|
@ -9,7 +9,16 @@ if [ -f .env ]; then
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
if [ ! -d "$IYCMS_ROOT_PATH/config" ]; then
|
||||
cp -r ./config "$IYCMS_ROOT_PATH/config"
|
||||
mkdir -p "$IYCMS_ROOT_PATH/config"
|
||||
fi
|
||||
|
||||
if [ -d "$IYCMS_ROOT_PATH/config/config.conf" ]; then
|
||||
rm -r "$IYCMS_ROOT_PATH/config/config.conf"
|
||||
touch "$IYCMS_ROOT_PATH/config/config.conf"
|
||||
elif [ ! -f "$IYCMS_ROOT_PATH/config/config.conf" ]; then
|
||||
cp ./config/config.conf "$IYCMS_ROOT_PATH/config/config.conf"
|
||||
else
|
||||
echo "config.conf cp error."
|
||||
fi
|
||||
|
||||
echo "Check Finish."
|
||||
|
Loading…
Reference in New Issue
Block a user