--- misc/xoa-installer/xoa-installer.sh 2016/03/19 08:05:57 2979 +++ misc/xoa-installer/xoa-installer.sh 2016/03/19 08:19:53 2980 @@ -58,6 +58,11 @@ echo "installing redis-server" apt-get install redis-server || exit fi + +if [ ! -x "/usr/bin/git" ] ; then + echo "installing git" + apt-get install git +fi if [ ! -x "/usr/local/bin/n" ] ; then @@ -86,10 +91,7 @@ npm install -g node-gyp fi -if [ ! -x "/usr/bin/git" ] ; then - echo "installing git" - apt-get install git -fi +npm install -g bcrypt if [ ! -d "xo-web" ] ; then git clone -b $BRANCH https://github.com/vatesfr/xo-web.git