From bb0799e55c1eb5e17accc5bda32ba0c873c76582 Mon Sep 17 00:00:00 2001 From: nahuhh <50635951+nahuhh@users.noreply.github.com> Date: Fri, 18 Oct 2024 20:49:40 +0000 Subject: [PATCH] later --- install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e8a0ac8..62ea650 100755 --- a/install.sh +++ b/install.sh @@ -63,6 +63,12 @@ detect_os_arch() { UPDATE="sudo pacman -Syu" DEPENDENCY="python-pipenv gnupg pkgconf base-devel" $green"\nDetected Arch Linux\n";$nocolor + elif type -P apk > /dev/null; then + # Alpine Linux + INSTALL="sudo apk add" + UPDATE="sudo apk update" + DEPENDENCY="py3-virtualenv python3-dev gnupg gcc musl-dev" + $green"\nDetected Alpine Linux\n";$nocolor elif [[ $(uname -s) = "Darwin" ]]; then # MacOS export MACOS=1 @@ -211,7 +217,7 @@ fi if [[ -d $HOME/.local/bin/bsx ]]; then rm -r $HOME/.local/bin/bsx* $HOME/.local/bin/basicswap-bash fi -mv -f -t $HOME/.local/bin/ basicswap-bash bsx* +cp -r -t $HOME/.local/bin/ basicswap-bash bsx* ## Make venv and set variables for install export monerod_addr=$monerod_addr