From 1feb529b865da687a16cb3591c89dfac786c28bc Mon Sep 17 00:00:00 2001 From: Bob Mottram <bob@freedombone.net> Date: Thu, 11 Jan 2018 10:27:43 +0000 Subject: [PATCH] Install datboi within the scuttlebot app --- src/freedombone-app-scuttlebot | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/freedombone-app-scuttlebot b/src/freedombone-app-scuttlebot index ab90b4c90..9022296da 100755 --- a/src/freedombone-app-scuttlebot +++ b/src/freedombone-app-scuttlebot @@ -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 -- GitLab