mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
commit
6d129fc9e5
@ -60,12 +60,13 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
# install bos
|
||||
# check latest version:
|
||||
# https://github.com/alexbosworth/balanceofsatoshis/blob/master/package.json#L70
|
||||
sudo -u bos npm install -g balanceofsatoshis@5.41.0
|
||||
sudo -u bos npm install -g balanceofsatoshis@5.43.1
|
||||
if ! [ $? -eq 0 ]; then
|
||||
echo "FAIL - npm install did not run correctly, aborting"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# setting value in raspi blitz config
|
||||
sudo sed -i "s/^bos=.*/bos=on/g" /mnt/hdd/raspiblitz.conf
|
||||
|
||||
|
@ -74,9 +74,8 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
sudo -u loop git reset --hard v0.8.0-beta
|
||||
cd /home/loop/loop/cmd
|
||||
go install ./...
|
||||
|
||||
# make systemd service
|
||||
|
||||
# make systemd service
|
||||
if [ "${runBehindTor}" = "on" ]; then
|
||||
echo "Will connect to Loop server through Tor"
|
||||
proxy="--server.proxy=127.0.0.1:9050"
|
||||
|
@ -88,7 +88,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
sudo -u rtl rm -rf /home/rtl/RTL 2>/dev/null
|
||||
sudo -u rtl git clone https://github.com/ShahanaFarooqui/RTL.git /home/rtl/RTL
|
||||
cd /home/rtl/RTL
|
||||
sudo -u rtl git reset --hard v0.8.1
|
||||
sudo -u rtl git reset --hard v0.8.4
|
||||
# from https://github.com/Ride-The-Lightning/RTL/commits/master
|
||||
# git checkout 917feebfa4fb583360c140e817c266649307ef72
|
||||
if [ -d "/home/rtl/RTL" ]; then
|
||||
|
@ -81,7 +81,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
sudo -u thunderhub git clone https://github.com/apotdevin/thunderhub.git /home/thunderhub/thunderhub
|
||||
cd /home/thunderhub/thunderhub
|
||||
# https://github.com/apotdevin/thunderhub/releases
|
||||
sudo -u thunderhub git reset --hard v0.8.12
|
||||
sudo -u thunderhub git reset --hard v0.9.4
|
||||
echo "Running npm install and run build..."
|
||||
sudo -u thunderhub npm install
|
||||
if ! [ $? -eq 0 ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user