Closed TNT911 closed 4 years ago
Same error for me. Tried the old script to update klipper and dwc and was left with a broken printer. Came here to update the installer hoping there was a fix and see it was updated yesturday....yipie!!! only to get this error too and now Im bummed, lol
I'm not sure, but you can try change lines 229- 231
~~if [ $session_num == 0 ] then if [ -f $installLocation/printer.cfg ] && report_status "Moving and renaming your printer.cfg to the correct folder... under $PRINTER_FOLDER/"; sleep 3 && mv $installLocation/printer.cfg $KlipperFarm/$PRINTER_FOLDER~~
to this:
if [ $session_num == 0 ] && [ -f $installLocation/printer.cfg ]; then report_status "Moving and renaming your printer.cfg to the correct folder... under $PRINTER_FOLDER/" && sleep 3 && mv $installLocation/printer.cfg $KlipperFarm/$PRINTER_FOLDER
Same error here...
corrected that! fixed 3 commits ago, test and report, thanks!
Getting the following error:
Creating some folders...
./installer.sh: line 232: syntax error near unexpected token `else'