add curl dependency, reword password prompt

This commit is contained in:
nahuhh 2024-06-06 07:34:03 -05:00
parent 07cc24b204
commit 116a5a68c7
6 changed files with 11 additions and 10 deletions

View file

@ -5,7 +5,7 @@ red="echo -e -n \e[31;1m"
green="echo -e -n \e[32;1m"
nocolor="echo -e -n \e[0m"
echo -e "My BasicSwapDEX is:\n[1] Password protected\n[2] NOT password protected\n"
echo -e "BasicSwapDEX is currently:\n[1] Password protected\n[2] NOT password protected\n"
until [[ "$l" =~ ^[12]$ ]]; do
read -p 'Select an option [1|2]: ' l
case $l in

View file

@ -5,7 +5,7 @@ red="echo -e -n \e[31;1m"
green="echo -e -n \e[32;1m"
nocolor="echo -e -n \e[0m"
echo -e "My BasicSwapDEX is:\n[1] Password protected\n[2] NOT password protected\n"
echo -e "BasicSwapDEX is currently:\n[1] Password protected\n[2] NOT password protected\n"
until [[ "$l" =~ ^[12]$ ]]; do
read -p 'Select an option [1|2]: ' l
case $l in

View file

@ -5,7 +5,7 @@ red="echo -e -n \e[31;1m"
green="echo -e -n \e[32;1m"
nocolor="echo -e -n \e[0m"
echo -e "My BasicSwapDEX is:\n[1] Password protected\n[2] NOT password protected\n"
echo -e "BasicSwapDEX is currently:\n[1] Password protected\n[2] NOT password protected\n"
until [[ "$l" =~ ^[12]$ ]]; do
read -p 'Select an option [1|2]: ' l
case $l in

View file

@ -5,7 +5,7 @@ red="echo -e -n \e[31;1m"
green="echo -e -n \e[32;1m"
nocolor="echo -e -n \e[0m"
echo -e "My BasicSwapDEX is:\n[1] Password protected\n[2] NOT password protected\n"
echo -e "BasicSwapDEX is currently:\n[1] Password protected\n[2] NOT password protected\n"
until [[ "$l" =~ ^[12]$ ]]; do
read -p 'Select an option [1|2]: ' l
case $l in

View file

@ -5,7 +5,7 @@ red="echo -e -n \e[31;1m"
green="echo -e -n \e[32;1m"
nocolor="echo -e -n \e[0m"
echo -e "My BasicSwapDEX is:\n[1] Password protected\n[2] NOT password protected\n"
echo -e "BasicSwapDEX is currently:\n[1] Password protected\n[2] NOT password protected\n"
until [[ "$l" =~ ^[12]$ ]]; do
read -p 'Select an option [1|2]: ' l
case $l in

View file

@ -63,6 +63,12 @@ detect_os_arch() {
detect_os_arch
## Update & Install dependencies
echo -e "\n\nInstalling dependencies\nPress CTRL-C at password prompt(s) to skip. If skipped, you must install the dependencies manually before proceeding"
$green"$UPDATE\n$INSTALL $DEPENDENCY git curl wget unzip automake libtool jq\n"; $nocolor
$UPDATE
$INSTALL $DEPENDENCY git curl wget unzip automake libtool jq
# Enable tor
echo -e "\n\n[1] Tor ON (requires sudo)\n[2] Tor OFF\n"
until [[ "$tor_on" =~ ^[12]$ ]]; do
@ -155,11 +161,6 @@ done
## Begin Install
echo -e "\n\nInstalling BasicSwapDEX"
read -p 'Press Enter to continue, or CTRL-C to exit.'
## Update & Install dependencies
echo -e "\n\nInstalling dependencies\nPress CTRL-C at password prompt(s) to skip. If skipped, you must install the dependencies manually before proceeding"
$green"$UPDATE\n$INSTALL $DEPENDENCY git wget unzip automake libtool jq\n"; $nocolor
$UPDATE
$INSTALL $DEPENDENCY git wget unzip automake libtool jq
# Quest to make trasher happy
trasherdk=$(echo $PATH | grep $USER/.local/bin)