diff --git a/depends.sh b/depends.sh index 174b256..77cd21b 100755 --- a/depends.sh +++ b/depends.sh @@ -4,7 +4,7 @@ echo "${_GREEN}INSTALL DEPENDS STARTED${_RESET}" -if [ $_APT_DEPENDS = 1 ]; then +if [ "$_APT_DEPENDS" -eq "1" ]; then # Install xmrig depends sudo apt install -y software-properties-common git build-essential cmake libuv1-dev libssl-dev libmicrohttpd-dev libhwloc-dev gcc g++ diff --git a/maintenance.sh b/maintenance.sh index 8ade72b..c706621 100755 --- a/maintenance.sh +++ b/maintenance.sh @@ -2,7 +2,7 @@ echo "${_GREEN}MAINTENANCE STARTED${_RESET}" -if [ $_APT_MAINETANCE = 1 ]; then +if [ "$_APT_MAINETANCE" -eq "1" ]; then sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean