Merge pull request #747 from roramirez/comment-bash-installer

Fix format comments on installer script
This commit is contained in:
Michael Teeuw 2017-03-05 17:15:33 +01:00 committed by GitHub
commit 03f15e0075

View File

@ -32,7 +32,7 @@ if [ "$ARM" != "armv7l" ]; then
exit; exit;
fi fi
#define helper methods. # Define helper methods.
function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; } function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }
function command_exists () { type "$1" &> /dev/null ;} function command_exists () { type "$1" &> /dev/null ;}
@ -88,7 +88,7 @@ if $NODE_INSTALL; then
echo -e "\e[92mNode.js installation Done!\e[0m" echo -e "\e[92mNode.js installation Done!\e[0m"
fi fi
#Install magic mirror # Install MagicMirror
cd ~ cd ~
if [ -d "$HOME/MagicMirror" ] ; then if [ -d "$HOME/MagicMirror" ] ; then
echo -e "\e[93mIt seems like MagicMirror is already installed." echo -e "\e[93mIt seems like MagicMirror is already installed."