Allow skipping self update
This commit is contained in:
parent
5ac82245c8
commit
f7aefddebc
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ fi
|
||||||
sudo /bin/true
|
sudo /bin/true
|
||||||
|
|
||||||
# update modules and check depencies
|
# update modules and check depencies
|
||||||
|
if "$UPDATE" ; then
|
||||||
git pull
|
git pull
|
||||||
|
fi
|
||||||
if "$UPDATE" || [ ! -f roles/.git ]; then
|
if "$UPDATE" || [ ! -f roles/.git ]; then
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue