--- misc/xoa-installer/xoa-installer.sh 2016/03/19 08:19:53 2980 +++ misc/xoa-installer/xoa-installer.sh 2016/03/19 08:23:22 2981 @@ -91,7 +91,10 @@ npm install -g node-gyp fi -npm install -g bcrypt +if [ ! -d "/usr/local/lib/node_modules" ] ; then + echo "installing bcrypt" + npm install -g bcrypt +fi if [ ! -d "xo-web" ] ; then git clone -b $BRANCH https://github.com/vatesfr/xo-web.git