#!/bin/bash # set -eu -o pipefail init_root() { git clone ${AGORA_GIT} ${AGORA_PATH} || (cd ${AGORA_PATH} && git pull) } main() { set -eu init_root /home/$AGORA_USER/agora-bridge/entrypoint.sh } main