From d9f8719fef2adcc42b18e7111b0f870a461a214f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=C3=A4kinen?= Date: Sat, 1 Feb 2025 18:51:36 +0200 Subject: [PATCH] Fix -n option to not reset submodule --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 857ba54..147c7ff 100755 --- a/deploy.sh +++ b/deploy.sh @@ -22,7 +22,7 @@ sudo /bin/true if "$UPDATE" ; then git pull fi -if "$UPDATE" || [ ! -f roles/.git ]; then +if "$UPDATE" || [ ! -f playbooks/roles/.git ]; then git submodule update --init --recursive fi if ! rpm -q ansible > /dev/null; then