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