Install datboi within the scuttlebot app

This commit is contained in:
Bob Mottram 2018-01-11 10:27:43 +00:00
parent b015720228
commit 1feb529b86
1 changed files with 8 additions and 1 deletions

View File

@ -376,6 +376,13 @@ EOF
rm $rootdir/usr/bin/install_dat
}
function install_dat {
npm install -g dat
npm install -g @garbados/dat-boi
npm install -g add-to-systemd
add-to-systemd dat-boi --user $(whoami) `which dat-boi`
}
function mesh_install_scuttlebot {
SCUTTLEBOT_ONION_HOSTNAME=
@ -436,7 +443,7 @@ function install_scuttlebot {
exit 528253
fi
npm install -g dat
install_dat
npm install -g git-ssb
npm install -g git-remote-ssb