mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2024-12-22 11:39:21 +00:00
11 lines
263 B
Bash
Executable file
11 lines
263 B
Bash
Executable file
#!/bin/bash
|
|
export SWAP_DATADIR=$HOME/coinswaps
|
|
. $SWAP_DATADIR/venv/bin/activate && python -V
|
|
|
|
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
|