mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Only run git if we have it.
This commit is contained in:
@@ -312,6 +312,7 @@ install_dotfiles() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install_main() {
|
install_main() {
|
||||||
|
test $MINIMAL = 1 || command -v git >/dev/null 2>&1 && \
|
||||||
git -C ${BASEDIR} submodule update --init --recursive --depth 1
|
git -C ${BASEDIR} submodule update --init --recursive --depth 1
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user