diff --git a/install.sh b/install.sh index f800c72..fa3ccc3 100755 --- a/install.sh +++ b/install.sh @@ -312,7 +312,8 @@ install_dotfiles() { } install_main() { - git -C ${BASEDIR} submodule update --init --recursive --depth 1 + test $MINIMAL = 1 || command -v git >/dev/null 2>&1 && \ + git -C ${BASEDIR} submodule update --init --recursive --depth 1 test $MINIMAL = 1 || prerequisites test $INSTALL_PKGS = 1 && is_deb_system && install_apt_pkgs install_dotfiles