mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-09 19:10:01 +02:00
Add dependecy checking to the download script
This commit is contained in:
@@ -21,6 +21,10 @@ all: $(OSX_DRV)
|
||||
@./extract-firmware.sh -x "$(OSX_DRV)"
|
||||
|
||||
$(OSX_DRV):
|
||||
@echo ""
|
||||
@echo "Checking dependencies for driver donwload..."
|
||||
@which curl xzcat cpio
|
||||
@echo ""
|
||||
@# Ty to wvengen, see: https://github.com/patjak/bcwc_pcie/issues/14#issuecomment-167446787
|
||||
@echo "Dowloading the driver, please wait..."
|
||||
@(curl -s -L -r "$(RANGE)" "$(URL)" | xzcat -q | cpio --format odc -i -d "./$(FILE)") &> /dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user