basicswap-bash/bsx-update

12 lines
263 B
Text
Raw Normal View History

#!/bin/bash
export SWAP_DATADIR=$HOME/coinswaps
. $SWAP_DATADIR/venv/bin/activate && python -V
2024-06-11 20:51:02 +00:00
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