From 364aee61a29a37c1102045c122c2df807072c64e Mon Sep 17 00:00:00 2001 From: bitromortac Date: Thu, 27 Aug 2020 06:35:13 +0200 Subject: [PATCH] Update lndmanage to v0.11.0 --- home.admin/config.scripts/bonus.lndmanage.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/home.admin/config.scripts/bonus.lndmanage.sh b/home.admin/config.scripts/bonus.lndmanage.sh index 10882e446..bf628022e 100644 --- a/home.admin/config.scripts/bonus.lndmanage.sh +++ b/home.admin/config.scripts/bonus.lndmanage.sh @@ -17,8 +17,8 @@ fi # show info menu if [ "$1" = "menu" ]; then dialog --title " Info lndmanage " --msgbox "\n\ -Usage: https://github.com/bitromortac/lndmanage/blob/master/README.md -Have at least one channel active to run it without error.\n +Usage: https://github.com/bitromortac/lndmanage/blob/master/README.md or +lndmanage --help.\n To start type: 'manage' in the command line. " 9 75 exit 0 @@ -42,10 +42,11 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then python3 -m venv venv source /home/admin/lndmanage/venv/bin/activate - # get dependencies - sudo apt install -y python3-dev libatlas-base-dev - python3 -m pip install wheel - python3 -m pip install lndmanage==0.10.0 + # get build dependencies + python3 -m pip install --upgrade pip wheel setuptools + + # install lndmanage + python3 -m pip install lndmanage==0.11.0 # check if install was successfull if [ $(python3 -m pip list | grep -c "lndmanage") -eq 0 ]; then @@ -60,8 +61,8 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then sudo sed -i "s/^lndmanage=.*/lndmanage=on/g" /mnt/hdd/raspiblitz.conf echo "# usage: https://github.com/bitromortac/lndmanage/blob/master/README.md" + echo "# usage: lndmanage --help" echo "# To start type: 'manage' in the command line." - echo "# Needs at least one channel to start without error." echo "# To exit the venv - type 'deactivate' and press ENTER" exit 0