mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2025-01-08 20:09:47 +00:00
Compare commits
1 commit
8c50076b09
...
bb0799e55c
Author | SHA1 | Date | |
---|---|---|---|
|
bb0799e55c |
1 changed files with 7 additions and 1 deletions
|
@ -63,6 +63,12 @@ detect_os_arch() {
|
||||||
UPDATE="sudo pacman -Syu"
|
UPDATE="sudo pacman -Syu"
|
||||||
DEPENDENCY="python-pipenv gnupg pkgconf base-devel"
|
DEPENDENCY="python-pipenv gnupg pkgconf base-devel"
|
||||||
$green"\nDetected Arch Linux\n";$nocolor
|
$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
|
elif [[ $(uname -s) = "Darwin" ]]; then
|
||||||
# MacOS
|
# MacOS
|
||||||
export MACOS=1
|
export MACOS=1
|
||||||
|
@ -211,7 +217,7 @@ fi
|
||||||
if [[ -d $HOME/.local/bin/bsx ]]; then
|
if [[ -d $HOME/.local/bin/bsx ]]; then
|
||||||
rm -r $HOME/.local/bin/bsx* $HOME/.local/bin/basicswap-bash
|
rm -r $HOME/.local/bin/bsx* $HOME/.local/bin/basicswap-bash
|
||||||
fi
|
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
|
## Make venv and set variables for install
|
||||||
export monerod_addr=$monerod_addr
|
export monerod_addr=$monerod_addr
|
||||||
|
|
Loading…
Reference in a new issue