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)