fix
This commit is contained in:
parent
c1513a3f69
commit
9814359d45
11
Makefile
11
Makefile
@ -33,14 +33,7 @@ full-install:
|
|||||||
@clear
|
@clear
|
||||||
@echo "Starting full installation..."
|
@echo "Starting full installation..."
|
||||||
$(MAKE) dependencies
|
$(MAKE) dependencies
|
||||||
@read -p "Is SpiriLink using 8812EU or 8812AU? Enter EU/AU: " driver; \
|
$(MAKE) spirilink-driver
|
||||||
if [ "$$driver" = "EU" ] || [ "$$driver" = "eu" ]; then \
|
|
||||||
$(MAKE) spirilink-driver DRIVER_TYPE=EU; \
|
|
||||||
elif [ "$$driver" = "AU" ] || [ "$$driver" = "au" ]; then \
|
|
||||||
$(MAKE) spirilink-driver DRIVER_TYPE=AU; \
|
|
||||||
else \
|
|
||||||
echo "Invalid input. Skipping SpiriLink driver installation."; \
|
|
||||||
fi;
|
|
||||||
$(MAKE) configure-spirilink
|
$(MAKE) configure-spirilink
|
||||||
$(MAKE) spirilink-software
|
$(MAKE) spirilink-software
|
||||||
$(MAKE) setup-webapp-service
|
$(MAKE) setup-webapp-service
|
||||||
@ -112,7 +105,7 @@ spirilink-driver:
|
|||||||
$(MAKE) spirilink-driver DRIVER_TYPE=AU; \
|
$(MAKE) spirilink-driver DRIVER_TYPE=AU; \
|
||||||
else \
|
else \
|
||||||
echo "Invalid input. Skipping SpiriLink driver installation."; \
|
echo "Invalid input. Skipping SpiriLink driver installation."; \
|
||||||
fi;
|
fi; \
|
||||||
$(SUDO) mkdir -p ~/tmp
|
$(SUDO) mkdir -p ~/tmp
|
||||||
@if [ "$(DRIVER_TYPE)" = "EU" ]; then \
|
@if [ "$(DRIVER_TYPE)" = "EU" ]; then \
|
||||||
echo "Installing SpiriLink 8812EU driver..."; \
|
echo "Installing SpiriLink 8812EU driver..."; \
|
||||||
|
Loading…
Reference in New Issue
Block a user