We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e21122 commit 254ee6bCopy full SHA for 254ee6b
Makefile
@@ -36,5 +36,8 @@ haul: hauler ## Generate Hauls for latest release
36
HAULER_VERSION ?= 1.0.4
37
.PHONY: hauler
38
hauler: ## Install hauler
39
- curl -sfL https://get.hauler.dev | HAULER_VERSION=$(HAULER_VERSION) bash
+ @command -v hauler >/dev/null 2>&1 || { \
40
+ echo "Hauler version $(HAULER_VERSION) not found, downloading..."; \
41
+ curl -sfL https://get.hauler.dev | HAULER_VERSION=$(HAULER_VERSION) bash; \
42
+ }
43
HAULER = /usr/local/bin/hauler
0 commit comments