mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2025-01-31 15:05:53 +00:00
update: avoid broken state if cancelling update
This commit is contained in:
parent
4b52312f8f
commit
3d51d62b49
1 changed files with 3 additions and 3 deletions
|
@ -41,12 +41,12 @@ else
|
|||
fi
|
||||
|
||||
# Move scripts
|
||||
rm -rf $HOME/.local/bin/bsx
|
||||
mv -f basic* bsx* $HOME/.local/bin/
|
||||
rm -rf $HOME/.local/bin/bsx $HOME/.local/bin/basicswap-bash
|
||||
cp -r basic* bsx* $HOME/.local/bin/
|
||||
|
||||
# Copy core_versions to basicswap folder
|
||||
mv core_versions $SWAP_DATADIR/basicswap/core_versions
|
||||
|
||||
# Update BasicSwap, coincurve and coin cores
|
||||
$HOME/.local/bin/bsx/update.sh
|
||||
./bsx/update.sh
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue