From 6600aeaa88561d6bcd87ca089804d3945bbc3e56 Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Thu, 28 Nov 2024 12:58:07 +0000 Subject: [PATCH] Updated Makefile Changed how new content is pulled --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7123b25..763c836 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,8 @@ install: build update: @echo "Updating module components..." git submodule foreach \ - 'git pull origin $$(git rev-parse --abbrev-ref HEAD)' + '[[ $$(basename $$(git rev-parse --show-toplevel)) != Hyprland ]] && git pull origin $$(git rev-parse --abbrev-ref HEAD)' + -cd Hyprland && git fetch origin --no-all --tags # In case these libraries haven't been pulled yet, ignore the exit code -cd tomlplusplus && git pull origin $$(git rev-parse --abbrev-ref HEAD) -cd libxcb-errors && git pull origin $$(git rev-parse --abbrev-ref HEAD)