diff --git a/deploy.sh b/deploy.sh index 4769d78..652c22c 100755 --- a/deploy.sh +++ b/deploy.sh @@ -19,7 +19,9 @@ fi sudo /bin/true # update modules and check depencies -git pull +if "$UPDATE" ; then + git pull +fi if "$UPDATE" || [ ! -f roles/.git ]; then git submodule update --init --recursive fi