/[projects]/misc/xoa-installer/xoa-installer.sh
ViewVC logotype

Diff of /misc/xoa-installer/xoa-installer.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2957 by torben, Mon Feb 29 09:39:36 2016 UTC revision 2958 by torben, Mon Feb 29 09:43:57 2016 UTC
# Line 44  if [ "$1" == "clean" ] ; then Line 44  if [ "$1" == "clean" ] ; then
44  fi  fi
45    
46    
47    if [ ! -x "/usr/bin/curl" ] ; then
48            echo "installing curl"
49            apt-get install curl || exit
50    fi
51    
52  if [ ! -x "/usr/local/bin/n" ] ; then  if [ ! -x "/usr/local/bin/n" ] ; then
53          echo "installing node.js bootstrap"          echo "installing node.js bootstrap"
54          curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n || exit          curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n || exit
# Line 52  fi Line 57  fi
57    
58  if [ ! -x "/usr/local/bin/node" ] ; then  if [ ! -x "/usr/local/bin/node" ] ; then
59          echo "installing node.js"          echo "installing node.js"
60          n stable          n stable || exit
61  fi  fi
62    
63    

Legend:
Removed from v.2957  
changed lines
  Added in v.2958

  ViewVC Help
Powered by ViewVC 1.1.20