global option

This commit is contained in:
Bob Mottram 2016-08-13 11:31:27 +01:00
parent 426c259452
commit b6fb0670f6
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 4 additions and 4 deletions

View File

@ -213,8 +213,8 @@ function mesh_install_ipfs_js {
chroot ${rootdir} npm cache clean -f chroot ${rootdir} npm cache clean -f
chroot ${rootdir} npm install -g n chroot ${rootdir} npm install -g n
chroot ${rootdir} n ${IPFS_NODE_VERSION} chroot ${rootdir} n ${IPFS_NODE_VERSION}
chroot ${rootdir} npm install ronin@${IPFS_JS_RONIN_VERSION} --global chroot ${rootdir} npm install -g ronin@${IPFS_JS_RONIN_VERSION}
chroot ${rootdir} npm install ipfs@${IPFS_JS_VERSION} --global chroot ${rootdir} npm install -g ipfs@${IPFS_JS_VERSION}
IPFS_PATH=/usr/local/bin IPFS_PATH=/usr/local/bin
@ -281,8 +281,8 @@ function install_ipfs_js {
npm cache clean -f npm cache clean -f
npm install -g n npm install -g n
n ${IPFS_NODE_VERSION} n ${IPFS_NODE_VERSION}
npm install ronin@${IPFS_JS_RONIN_VERSION} --global npm install -g ronin@${IPFS_JS_RONIN_VERSION}
npm install ipfs@${IPFS_JS_VERSION} --global npm install -g ipfs@${IPFS_JS_VERSION}
IPFS_PATH=/usr/local/bin IPFS_PATH=/usr/local/bin