/[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 2979 by torben, Sat Mar 19 08:05:57 2016 UTC revision 2980 by torben, Sat Mar 19 08:19:53 2016 UTC
# Line 58  if [ ! -x "/usr/bin/redis-server" ] ; th Line 58  if [ ! -x "/usr/bin/redis-server" ] ; th
58          echo "installing redis-server"          echo "installing redis-server"
59          apt-get install  redis-server || exit          apt-get install  redis-server || exit
60  fi  fi
61    
62    if [ ! -x "/usr/bin/git" ] ; then
63            echo "installing git"
64            apt-get install git
65    fi
66                    
67    
68  if [ ! -x "/usr/local/bin/n" ] ; then  if [ ! -x "/usr/local/bin/n" ] ; then
# Line 86  if [ ! -x "/usr/local/bin/node-gyp" ] ; Line 91  if [ ! -x "/usr/local/bin/node-gyp" ] ;
91          npm install -g node-gyp          npm install -g node-gyp
92  fi  fi
93    
94  if [ ! -x "/usr/bin/git" ] ; then  npm install -g bcrypt
         echo "installing git"  
         apt-get install git  
 fi  
95    
96  if [ ! -d "xo-web" ] ; then  if [ ! -d "xo-web" ] ; then
97          git clone -b $BRANCH https://github.com/vatesfr/xo-web.git          git clone -b $BRANCH https://github.com/vatesfr/xo-web.git

Legend:
Removed from v.2979  
changed lines
  Added in v.2980

  ViewVC Help
Powered by ViewVC 1.1.20