Files
azerothcore-wotlk-pbot/install.sh
2018-01-28 19:50:01 +01:00

19 lines
481 B
Bash
Executable File

#!/usr/bin/env bash
set -e
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PATH_APPS="$CUR_PATH/apps/"
PATH_MODULES="$CUR_PATH/modules/"
[ ! -d $PATH_APPS/drassil/joiner ] && git clone https://github.com/drassil/joiner $PATH_APPS/drassil/joiner -b master
source "$PATH_APPS/drassil/joiner/joiner.sh"
# installing repository dependencies
if [[ $1 == "dev" ]]; then
git submodule update --init "$CUR_PATH/data/doc"
fi
source "$CUR_PATH/apps/installer/main.sh"