/[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 2982 by torben, Sat Mar 19 08:24:48 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  if [ ! -d "/usr/local/lib/node_modules/bcrypt" ] ; then
95          echo "installing git"          echo "installing bcrypt"
96          apt-get install git          npm install -g bcrypt
97  fi  fi
98    
99  if [ ! -d "xo-web" ] ; then  if [ ! -d "xo-web" ] ; then

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

  ViewVC Help
Powered by ViewVC 1.1.20