make wget overwrite the provider archive
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
0f7af9e2d4
commit
5c30c3ee93
2
Makefile
2
Makefile
|
@ -34,7 +34,7 @@ endif
|
||||||
install-provider: check-unzip
|
install-provider: check-unzip
|
||||||
if [ ! -e $(PLUGIN_DIR)/$(ARCH)/$(PROVIDER_NAME)_$(PROVIDER_VERSION) ]; then \
|
if [ ! -e $(PLUGIN_DIR)/$(ARCH)/$(PROVIDER_NAME)_$(PROVIDER_VERSION) ]; then \
|
||||||
mkdir -p $(PLUGIN_DIR); \
|
mkdir -p $(PLUGIN_DIR); \
|
||||||
wget $(PROVIDER_URL) -P $(PLUGIN_DIR); \
|
wget $(PROVIDER_URL) -P $(PLUGIN_DIR)/$(PROVIDER_ARCHIVE); \
|
||||||
unzip -o $(PLUGIN_DIR)/$(PROVIDER_ARCHIVE) -d $(PLUGIN_DIR); \
|
unzip -o $(PLUGIN_DIR)/$(PROVIDER_ARCHIVE) -d $(PLUGIN_DIR); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue