fix up change

This commit is contained in:
David Tomaschik
2023-08-14 20:57:47 -07:00
parent 50011b1675
commit 87239b2034

View File

@@ -368,10 +368,12 @@ install_dotfiles() {
} }
install_main() { install_main() {
test -d "${BASEDIR}/.git" && command -v git >/dev/null 2>&1 && \ if test -d "${BASEDIR}/.git" ; then
command -v git >/dev/null 2>&1 && \
git -C "${BASEDIR}" pull --ff-only git -C "${BASEDIR}" pull --ff-only
test "$MINIMAL" = 1 || ( command -v git >/dev/null 2>&1 && \ test "$MINIMAL" = 1 || ( command -v git >/dev/null 2>&1 && \
git -C "${BASEDIR}" submodule update --init --recursive ) git -C "${BASEDIR}" submodule update --init --recursive )
fi
test "$MINIMAL" = 1 || prerequisites test "$MINIMAL" = 1 || prerequisites
test "$INSTALL_PKGS" = 1 && is_deb_system && install_apt_pkgs test "$INSTALL_PKGS" = 1 && is_deb_system && install_apt_pkgs
install_dotfiles install_dotfiles