/[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 2958 by torben, Mon Feb 29 09:43:57 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/bin/curl" ] ; then
48            echo "installing curl"
49            apt-get install curl || exit
50    fi
51    
52    if [ ! -x "/usr/local/bin/n" ] ; then
53            echo "installing node.js bootstrap"
54            curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n || exit
55            chmod +x /usr/local/bin/n
56    fi
57    
58    if [ ! -x "/usr/local/bin/node" ] ; then
59            echo "installing node.js"
60            n stable || exit
61    fi
62    
63    
64    
65  if [ ! -d "xo-web" ] ; then  if [ ! -d "xo-web" ] ; then
66          git clone -b $BRANCH https://github.com/vatesfr/xo-web.git          git clone -b $BRANCH https://github.com/vatesfr/xo-web.git
67  else  else

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

  ViewVC Help
Powered by ViewVC 1.1.20