bugfix: fix introduced bug in fe941f4

This commit is contained in:
th33xitus
2020-10-06 18:18:40 +02:00
parent 4e38e85962
commit 3658137a1c

View File

@@ -188,10 +188,10 @@ patch_klipper_sysfile_dwc2(){
download_dwc2_webui(){ download_dwc2_webui(){
#get Duet Web Control #get Duet Web Control
GET_DWC2_URL=`curl -s https://api.github.com/repositories/28820678/releases/latest | grep browser_download_url | cut -d'"' -f4` GET_DWC2_URL=$(curl -s https://api.github.com/repositories/28820678/releases/latest | grep browser_download_url | cut -d'"' -f4)
cd $DWC2_DIR cd $DWC2_DIR
status_msg "Downloading DWC2 Web UI ..." status_msg "Downloading DWC2 Web UI ..."
wget -O $GET_DWC2_URL wget $GET_DWC2_URL
ok_msg "Download complete!" ok_msg "Download complete!"
status_msg "Unzipping archive ..." status_msg "Unzipping archive ..."
unzip -q -o *.zip unzip -q -o *.zip