mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-14 13:51:56 +08:00
a5f2e35262
* chore(deps): update oceanbase/oceanbase-ce docker tag to v4.3.0 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
15 lines
472 B
Bash
15 lines
472 B
Bash
source ./.env
|
|
|
|
LOG='./init.log'
|
|
mkdir -p $PWD/data/.obd 2>&1 >> $LOG || exit 11
|
|
if [ "x$OB_INSTALL_PATH" != "x" ]; then
|
|
HOME_PATH="$OB_INSTALL_PATH/ob/$CONTAINER_NAME"
|
|
echo "link $HOME_PATH to $PWD/data/ob" >> $LOG
|
|
mkdir -p $HOME_PATH 2>&1 >> $LOG || exit 10
|
|
ln -sf $HOME_PATH ./data/ob 2>&1 >> $LOG || exit 12
|
|
echo "HOME_PATH=$HOME_PATH" >> ./.env
|
|
else
|
|
mkdir -p $PWD/data/ob 2>&1 >> $LOG || exit 10
|
|
echo "install path not set" >> $LOG
|
|
fi
|