From c0e76d235a41f10ee36aa8a413291d307e95faed Mon Sep 17 00:00:00 2001 From: nahuhh Date: Sat, 24 Feb 2024 12:06:47 -0500 Subject: [PATCH] quick install --- scriptinstall.sh | 10 ++++++++++ scriptupdate.sh | 11 +++++++++++ 2 files changed, 21 insertions(+) create mode 100755 scriptinstall.sh create mode 100755 scriptupdate.sh diff --git a/scriptinstall.sh b/scriptinstall.sh new file mode 100755 index 0000000..3ab7993 --- /dev/null +++ b/scriptinstall.sh @@ -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 diff --git a/scriptupdate.sh b/scriptupdate.sh new file mode 100755 index 0000000..8293495 --- /dev/null +++ b/scriptupdate.sh @@ -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