Allow skipping self update

This commit is contained in:
Timo Makinen 2021-09-30 18:52:44 +00:00
parent 5ac82245c8
commit f7aefddebc

View file

@ -19,7 +19,9 @@ fi
sudo /bin/true sudo /bin/true
# update modules and check depencies # update modules and check depencies
git pull if "$UPDATE" ; then
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