mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2024-11-16 15:57:38 +00:00
fix upgrade paths
This commit is contained in:
parent
48ee19de36
commit
32d5003c43
2 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export SWAP_DATADIR=$HOME/coinswaps
|
export SWAP_DATADIR=$HOME/coinswaps
|
||||||
. $SWAP_DATADIR/venv/bin/activate && python -V
|
. $SWAP_DATADIR/venv/bin/activate && python -V
|
||||||
$HOME/.local/bin/bsx/update.sh
|
|
||||||
|
if [ -f /usr/local/bin/bsx/update.sh ]; then
|
||||||
|
/usr/local/bin/bsx/update.sh
|
||||||
|
cd /usr/local/bin
|
||||||
|
sudo rm -rf basicswap-bash bsx*
|
||||||
|
else
|
||||||
|
$HOME/.local/bin/bsx/update.sh
|
||||||
|
fi
|
||||||
|
|
|
@ -15,7 +15,7 @@ $SWAP_DATADIR/venv/bin/pip install .
|
||||||
|
|
||||||
## Clone basicswap git
|
## Clone basicswap git
|
||||||
cd $SWAP_DATADIR
|
cd $SWAP_DATADIR
|
||||||
git clone https://github.com/tecnovert/basicswap -b wow
|
git clone https://github.com/basicswap/basicswap -b dev
|
||||||
cd $SWAP_DATADIR/basicswap
|
cd $SWAP_DATADIR/basicswap
|
||||||
## Install basicswap
|
## Install basicswap
|
||||||
$SWAP_DATADIR/venv/bin/pip install .
|
$SWAP_DATADIR/venv/bin/pip install .
|
||||||
|
|
Loading…
Reference in a new issue