1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-12-02 05:57:21 +01:00

fix force pull

This commit is contained in:
Sebastian Gerske 2018-12-18 10:34:06 +01:00
parent a96cd29d9f
commit c0297ab483

View File

@ -63,7 +63,7 @@ while :; do
printf $COLOR_Y'Switched to latest components...\n\n'$COLOR_RESET printf $COLOR_Y'Switched to latest components...\n\n'$COLOR_RESET
;; ;;
--force-pull) --force-pull)
export forcepull='true' export forcepull="true"
printf $COLOR_Y'Pulling latest components...\n\n'$COLOR_RESET printf $COLOR_Y'Pulling latest components...\n\n'$COLOR_RESET
;; ;;
################################################# #################################################
@ -153,7 +153,7 @@ while :; do
;; ;;
*) *)
printf $COLOR_Y'Starting Ocean...\n\n'$COLOR_RESET printf $COLOR_Y'Starting Ocean...\n\n'$COLOR_RESET
if [[ forcepull == 'true' ]] if [[ $forcepull == "true" ]]
then then
docker-compose --project-name=$PROJECT_NAME $COMPOSE_FILES -f ${NODE_COMPOSE_FILE} pull docker-compose --project-name=$PROJECT_NAME $COMPOSE_FILES -f ${NODE_COMPOSE_FILE} pull
fi fi