Install git-ssb with scuttlebot
This commit is contained in:
parent
3fb870a6ff
commit
ae60e38cc7
|
@ -197,9 +197,13 @@ function remove_scuttlebot {
|
|||
}
|
||||
|
||||
function mesh_install_scuttlebot {
|
||||
get_npm_arch
|
||||
|
||||
cat <<EOF > $rootdir/usr/bin/install_scuttlebot
|
||||
#!/bin/bash
|
||||
npm install -g scuttlebot@${SCUTTLEBOT_VERSION}
|
||||
npm install --arch=$NPM_ARCH -g scuttlebot@${SCUTTLEBOT_VERSION}
|
||||
npm install --arch=$NPM_ARCH -g git-ssb
|
||||
npm install --arch=$NPM_ARCH -g git-remote-ssb
|
||||
EOF
|
||||
chroot "$rootdir" /bin/chmod +x /usr/bin/install_scuttlebot
|
||||
chroot "$rootdir" /usr/bin/install_scuttlebot
|
||||
|
@ -245,6 +249,9 @@ function install_scuttlebot {
|
|||
exit 528253
|
||||
fi
|
||||
|
||||
npm install -g git-ssb
|
||||
npm install -g git-remote-ssb
|
||||
|
||||
if [ ! -d /etc/scuttlebot ]; then
|
||||
mkdir -p /etc/scuttlebot
|
||||
fi
|
||||
|
|
|
@ -588,7 +588,8 @@ cd /etc/patchwork
|
|||
npm install --arch=$NPM_ARCH --build-from-source
|
||||
npm install --arch=$NPM_ARCH --save-dev electron-rebuild
|
||||
./node_modules/.bin/electron-rebuild
|
||||
npm install --arch=$NPM_ARCH git-ssb
|
||||
npm install --arch=$NPM_ARCH -g git-ssb --registry=http://localhost:8043/
|
||||
#npm install --arch=$NPM_ARCH git-ssb
|
||||
EOF
|
||||
chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
|
||||
chroot "$rootdir" /usr/bin/install_patchwork
|
||||
|
|
Loading…
Reference in New Issue