bash syntax problem with installer
See original GitHub issueInstaller in https://github.com/MichMich/MagicMirror/blob/master/installers/raspberry.sh doesn’t work correctly on a brand-new RPI with raspbian-jessie. Syntax error
bash: line 153: syntax error near unexpected token `then'
bash: line 153: `then'
Going to propose PR to fix that.
Just thinking, maybe we should have tests running for installer? Just like: exit code is 0
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Bash: install.sh: line 185: syntax error: unexpected end of file
And i tried converting with notepad++ and dos2unix but it still gets the same error!!! install.sh: line 185: syntax error: unexpected end of ......
Read more >Syntax error: "(" unexpected when installing v2.05 Linux version
Getting this syntax error when installing v2.05 on Linux "(" unexpected. I think I am installing correctly with terminal command -
Read more >Bash syntax error: unexpected end of file - Stack Overflow
I think file.sh is with CRLF line terminators. run dos2unix file.sh. then the problem will be fixed. You can install dos2unix in ubuntu...
Read more >Syntax error installation script - command line - Ask Ubuntu
The files were created using mount. I tried changing the script but the permissions are locked to root and chmod commands are leaving...
Read more >Problem with R tools from command line. - Biostar
The problem is, I have installed previously everything I need concerning r, python, etc and I am able to successfully execute python or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There are a workaround where you can using the script installer like this.
bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
If you want adding test for installer script …go ahead.
Hey Guys!, few minutes ago the install command onto the website are updated. Please you follow this sentence 👌