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
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Add table
Reference in a new issue