/[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 2956 by torben, Mon Feb 29 09:26:49 2016 UTC revision 2957 by torben, Mon Feb 29 09:39:36 2016 UTC
# Line 43  if [ "$1" == "clean" ] ; then Line 43  if [ "$1" == "clean" ] ; then
43          exit          exit
44  fi  fi
45    
46    
47    if [ ! -x "/usr/local/bin/n" ] ; then
48            echo "installing node.js bootstrap"
49            curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n || exit
50            chmod +x /usr/local/bin/n
51    fi
52    
53    if [ ! -x "/usr/local/bin/node" ] ; then
54            echo "installing node.js"
55            n stable
56    fi
57    
58    
59    
60  if [ ! -d "xo-web" ] ; then  if [ ! -d "xo-web" ] ; then
61          git clone -b $BRANCH https://github.com/vatesfr/xo-web.git          git clone -b $BRANCH https://github.com/vatesfr/xo-web.git
62  else  else

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

  ViewVC Help
Powered by ViewVC 1.1.20