From 3eb36b9f024f8812834e97ffd4e606c26c0d8983 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 3 Jun 2023 09:53:26 +0100 Subject: [PATCH] Change submodule pull to submodule update in make --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bc1004e5..50a2b09a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ SUBMODULES := $(CONFIG_DIR)/nvim $(CONFIG_DIR)/hypr $(CONFIG_DIR)/waybar .PHONY: default clean nixos home /etc/nixos/config default: $(SUBMODULES) - git submodule foreach git pull --ff-only + git submodule update command -v nix > /dev/null || exit 1 [ -e /etc/nixos/ ] && make nixos || make home bat cache --build