--- misc/xoa-installer/xoa-installer.sh 2016/02/29 09:39:36 2957 +++ misc/xoa-installer/xoa-installer.sh 2016/02/29 09:43:57 2958 @@ -44,6 +44,11 @@ fi +if [ ! -x "/usr/bin/curl" ] ; then + echo "installing curl" + apt-get install curl || exit +fi + if [ ! -x "/usr/local/bin/n" ] ; then echo "installing node.js bootstrap" curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n || exit @@ -52,7 +57,7 @@ if [ ! -x "/usr/local/bin/node" ] ; then echo "installing node.js" - n stable + n stable || exit fi