MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

Bash install command on MagicMirror front page doesn't work but the command in github does



  • The command curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash doesn’t work but bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh) works just fine.

    Latest version of Raspiberry OS



  • Log of the error… error in bash script.

    pi@raspberrypi:~ $ curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
    
    $$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$\
    $$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                        $$  __$$\
    $$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  \__/  $$ |
    $$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\  $$$$$$  |
    $$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |  \__|$$ /  $$ |$$ |  \__|$$  ____/
    $$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
    $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |      \$$$$$$  |$$ |      $$$$$$$$\
    \__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|       \______/ \__|      \________|
                           $$\   $$ |
                           \$$$$$$  |
                            \______/
    
    Updating packages ...
    Get:1 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
    Get:2 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
    Get:3 http://mirrordirector.raspbian.org jessie/main armhf Packages [9,533 kB]
    Get:4 http://archive.raspberrypi.org jessie/main armhf Packages [163 kB]       
    Get:5 http://archive.raspberrypi.org jessie/ui armhf Packages [57.9 kB]        
    Get:6 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43.3 kB]
    Get:7 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [84.2 kB]
    Get:8 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1,356 B]   
    Ign http://archive.raspberrypi.org jessie/main Translation-en_GB               
    Ign http://archive.raspberrypi.org jessie/main Translation-en                  
    Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB                 
    Ign http://archive.raspberrypi.org jessie/ui Translation-en                    
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB        
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en           
    Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB           
    Ign http://mirrordirector.raspbian.org jessie/main Translation-en              
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB       
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en          
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB            
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en               
    Fetched 9,920 kB in 19s (514 kB/s)                                             
    Reading package lists... Done
    Installing helper tools ...
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    build-essential is already the newest version.
    curl is already the newest version.
    Suggested packages:
      git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
      gitweb git-arch git-cvs git-mediawiki git-svn zip
    The following packages will be upgraded:
      git unzip wget
    3 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
    Need to get 3,342 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main wget armhf 1.16-1+deb8u2 [475 kB]
    Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main git armhf 1:2.1.4-2.1+deb8u3 [2,725 kB]
    Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main unzip armhf 6.0-16+deb8u3 [142 kB]
    Fetched 3,342 kB in 2s (1,540 kB/s)                           
    Reading changelogs... Done
    (Reading database ... 112359 files and directories currently installed.)
    Preparing to unpack .../wget_1.16-1+deb8u2_armhf.deb ...
    Unpacking wget (1.16-1+deb8u2) over (1.16-1+deb8u1) ...
    Preparing to unpack .../git_1%3a2.1.4-2.1+deb8u3_armhf.deb ...
    Unpacking git (1:2.1.4-2.1+deb8u3) over (1:2.1.4-2.1+deb8u2) ...
    Preparing to unpack .../unzip_6.0-16+deb8u3_armhf.deb ...
    Unpacking unzip (6.0-16+deb8u3) over (6.0-16+deb8u2) ...
    Processing triggers for install-info (5.2.0.dfsg.1-6) ...
    Processing triggers for man-db (2.7.0.2-5) ...
    Processing triggers for mime-support (3.58) ...
    Setting up wget (1.16-1+deb8u2) ...
    Setting up git (1:2.1.4-2.1+deb8u3) ...
    Setting up unzip (6.0-16+deb8u3) ...
    bash: line 48: unexpected EOF while looking for matching `"'
    bash: line 49: syntax error: unexpected end of file
    


  • pi@raspberrypi:~ $ uname -a
    Linux raspberrypi 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux