mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2024-12-22 11:39:21 +00:00
quick install
This commit is contained in:
parent
84b40e93ce
commit
c0e76d235a
2 changed files with 21 additions and 0 deletions
10
scriptinstall.sh
Executable file
10
scriptinstall.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#/bin/bash
|
||||
# Download Scripts
|
||||
wget -O basicswap-bash.tar.gz https://github.com/nahuhh/basicswap-bash/releases/latest/download/basicswap-bash.tar.gz
|
||||
tar xvf basicswap-bash.tar.gz
|
||||
cd basicswap-bash
|
||||
# Install BasicSwapDEX
|
||||
./install.sh
|
||||
# Cleanup
|
||||
cd ..
|
||||
rm -rf basicswap-bash
|
11
scriptupdate.sh
Executable file
11
scriptupdate.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#/bin/bash
|
||||
# Download updated scripts
|
||||
wget -O basicswap-bash.tar.gz https://github.com/nahuhh/basicswap-bash/releases/latest/download/basicswap-bash.tar.gz
|
||||
tar xvf basicswap-bash.tar.gz
|
||||
cd basicswap-bash
|
||||
# Move scripts
|
||||
sudo rm -rf /usr/local/bin/bsx
|
||||
sudo mv -f basic* bsx* /usr/local/bin/
|
||||
# Cleanup install
|
||||
cd ..
|
||||
rm -rf basicswap-bash
|
Loading…
Reference in a new issue