/[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 2978 by torben, Fri Mar 18 21:19:45 2016 UTC revision 2981 by torben, Sat Mar 19 08:23:22 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 81  if [ ! -x "/usr/local/bin/forever" ] ; t Line 86  if [ ! -x "/usr/local/bin/forever" ] ; t
86          npm install -g forever          npm install -g forever
87  fi  fi
88    
89  if [ ! -x "/usr/bin/git" ] ; then  if [ ! -x "/usr/local/bin/node-gyp" ] ; then
90          echo "installing git"          echo "installing node-gyp"
91          apt-get install git          npm install -g node-gyp
92    fi
93    
94    if [ ! -d "/usr/local/lib/node_modules" ] ; then
95            echo "installing bcrypt"
96            npm install -g bcrypt
97  fi  fi
98    
99  if [ ! -d "xo-web" ] ; then  if [ ! -d "xo-web" ] ; then

Legend:
Removed from v.2978  
changed lines
  Added in v.2981

  ViewVC Help
Powered by ViewVC 1.1.20