From f7aefddebcc79b165e1ea4ef7a28d917a57cae6b Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Thu, 30 Sep 2021 18:52:44 +0000 Subject: [PATCH] Allow skipping self update --- deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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