This commit is contained in:
Alex 2024-12-13 11:40:05 -04:00
parent c1513a3f69
commit 9814359d45

View File

@ -33,14 +33,7 @@ full-install:
@clear
@echo "Starting full installation..."
$(MAKE) dependencies
@read -p "Is SpiriLink using 8812EU or 8812AU? Enter EU/AU: " 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) spirilink-driver
$(MAKE) configure-spirilink
$(MAKE) spirilink-software
$(MAKE) setup-webapp-service
@ -112,7 +105,7 @@ spirilink-driver:
$(MAKE) spirilink-driver DRIVER_TYPE=AU; \
else \
echo "Invalid input. Skipping SpiriLink driver installation."; \
fi;
fi; \
$(SUDO) mkdir -p ~/tmp
@if [ "$(DRIVER_TYPE)" = "EU" ]; then \
echo "Installing SpiriLink 8812EU driver..."; \