question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bash syntax problem with installer

See original GitHub issue

Installer 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:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
roramirezcommented, May 8, 2017

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.

0reactions
roramirezcommented, Jul 6, 2017

Hey Guys!, few minutes ago the install command onto the website are updated. Please you follow this sentence 👌

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found