From c21a6ee8d8933741239f03345531fc7c00d10801 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 1 Apr 2015 16:50:01 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index cde66e4..4ea135a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # nodejs-linux-installer This is an universal NodeJS installer for Linux. +I don't take any responsibilities if you blow your system up! +This is in Alpha/Beta Stage so be careful! From d778c4abbd29ed2f4c7669d41967013a264816a8 Mon Sep 17 00:00:00 2001 From: Scott Walters Date: Sun, 5 Apr 2015 12:35:15 -0700 Subject: [PATCH 2/2] Fixed bug in architecture detection --- node-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-install.sh b/node-install.sh index 47b9c80..00d7af0 100755 --- a/node-install.sh +++ b/node-install.sh @@ -8,9 +8,9 @@ echo "Get Latest Version Number..." { wget --output-document=node-updater.html https://nodejs.org/dist/latest/ -ARCH=uname -m +ARCH=$(uname -m) -if [$ARCH = x86_64] +if [ $ARCH = x86_64 ] then grep -o '>node-v.*-linux-x64.tar.gz' node-updater.html > node-cache.txt 2>&1