Make install git pull before installing.

This commit is contained in:
David Tomaschik
2019-10-29 17:39:13 -07:00
parent 8e984d3c3b
commit deb8b62c12

View File

@@ -335,6 +335,8 @@ install_dotfiles() {
}
install_main() {
test -d ${BASEDIR}/.git && command -v git >/dev/null 2>&1 && \
git -C ${BASEDIR} pull
test $MINIMAL = 1 || command -v git >/dev/null 2>&1 && \
git -C ${BASEDIR} submodule update --init --recursive
test $MINIMAL = 1 || prerequisites