mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
#1040 change the way lndmanage install detected
This commit is contained in:
parent
cd128fa520
commit
3955d249f2
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,7 @@ fi
|
|||
# install
|
||||
if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
|
||||
if [ -d "/home/admin/lndmanage" ]; then
|
||||
if [ "${lndmanage}" == "on" ]; then
|
||||
echo "LNDMANAGE already installed"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -36,9 +36,11 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||
mkdir /home/admin/lndmanage
|
||||
sudo chown admin:admin /home/admin/lndmanage
|
||||
cd /home/admin/lndmanage
|
||||
|
||||
# activate virtual environment
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue