Update setup.sh
This commit is contained in:
@@ -203,7 +203,6 @@ setup_firegex() {
|
|||||||
export FIREGEX_PORT="5000"
|
export FIREGEX_PORT="5000"
|
||||||
export DOCKER_MODE="true"
|
export DOCKER_MODE="true"
|
||||||
|
|
||||||
|
|
||||||
echo "Installing Firegex using official installer..."
|
echo "Installing Firegex using official installer..."
|
||||||
sh -c "$(curl -sLf https://pwnzer0tt1.it/firegex.sh)"
|
sh -c "$(curl -sLf https://pwnzer0tt1.it/firegex.sh)"
|
||||||
|
|
||||||
@@ -233,9 +232,15 @@ start_game_services() {
|
|||||||
PACKMATE_AUTH=$(echo -n "$PACKMATE_WEB_LOGIN:$PACKMATE_WEB_PASSWORD" | base64)
|
PACKMATE_AUTH=$(echo -n "$PACKMATE_WEB_LOGIN:$PACKMATE_WEB_PASSWORD" | base64)
|
||||||
|
|
||||||
# Resolve SERVICES_DIR to absolute path
|
# Resolve SERVICES_DIR to absolute path
|
||||||
if [ "${SERVICES_DIR:0:1}" != "/" ]; then
|
case "$SERVICES_DIR" in
|
||||||
SERVICES_DIR="$ROOT_DIR/$SERVICES_DIR"
|
/*)
|
||||||
fi
|
# Already absolute path
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# Relative path, make it absolute
|
||||||
|
SERVICES_DIR="$ROOT_DIR/$SERVICES_DIR"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ ! -d "$SERVICES_DIR" ]; then
|
if [ ! -d "$SERVICES_DIR" ]; then
|
||||||
echo "Services directory $SERVICES_DIR does not exist, skipping game services startup."
|
echo "Services directory $SERVICES_DIR does not exist, skipping game services startup."
|
||||||
|
|||||||
Reference in New Issue
Block a user