mirror of
https://github.com/status-im/infra-les.git
synced 2025-01-21 01:39:40 +00:00
fix check-unzip target
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
edfe62022e
commit
4ffc916b93
10
Makefile
10
Makefile
@ -26,12 +26,12 @@ plugins: install-provider install-provisioner
|
||||
requirements:
|
||||
ansible-galaxy install --ignore-errors --force -r ansible/requirements.yml
|
||||
|
||||
install-unzip:
|
||||
ifeq (, $(shell which unzip)) \
|
||||
$(error "No unzip in PATH, consider doing apt install unzip") \
|
||||
endif
|
||||
check-unzip:
|
||||
ifeq (, $(shell which unzip))
|
||||
$(error "No unzip in PATH, consider doing apt install unzip")
|
||||
endif
|
||||
|
||||
install-provider: install-unzip
|
||||
install-provider: check-unzip
|
||||
if [ ! -e $(PLUGIN_DIR)/$(ARCH)/$(PROVIDER_NAME)_$(PROVIDER_VERSION) ]; then \
|
||||
mkdir -p $(PLUGIN_DIR); \
|
||||
wget $(PROVIDER_URL) -P $(PLUGIN_DIR); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user