From 3d51d62b4987a0ba4351f94faebdfdbca47dbd1b Mon Sep 17 00:00:00 2001 From: nahuhh <50635951+nahuhh@users.noreply.github.com> Date: Sat, 4 Jan 2025 22:58:22 +0000 Subject: [PATCH] update: avoid broken state if cancelling update --- bsx-update | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsx-update b/bsx-update index f7b4df2..362f5a6 100755 --- a/bsx-update +++ b/bsx-update @@ -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