From 5ad1ad4616f9faf1a773851043e604a3b4bae304 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 3 Oct 2020 15:06:55 -0700 Subject: [PATCH] Fix shell grouping. --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 6d69ca6..e331767 100755 --- a/install.sh +++ b/install.sh @@ -357,8 +357,8 @@ install_dotfiles() { install_main() { test -d ${BASEDIR}/.git && command -v git >/dev/null 2>&1 && \ git -C ${BASEDIR} pull --ff-only - test $MINIMAL = 1 || command -v git >/dev/null 2>&1 && \ - git -C ${BASEDIR} submodule update --init --recursive + test $MINIMAL = 1 || ( command -v git >/dev/null 2>&1 && \ + git -C ${BASEDIR} submodule update --init --recursive ) test $MINIMAL = 1 || prerequisites test $INSTALL_PKGS = 1 && is_deb_system && install_apt_pkgs install_dotfiles