git.iko.soy/xmrig-bash-scripts
on master help sign in
fix unary operator
commitdd97fdc694e7493c580528686f48b5d1cfce62cf authorSean Wheller <sean@prepaidmeters.com> dateMon 12 Aug 2019, 19:50 (7 years ago) parent6a6b913
2 files changed+2−2
depends.sh+1−1 maintenance.sh+1−1
depends.sh+1−1
@@ -4,7 +4,7 @@
44
55echo "${_GREEN}INSTALL DEPENDS STARTED${_RESET}"
66
7−if [ $_APT_DEPENDS = 1 ]; then
7+if [ "$_APT_DEPENDS" -eq "1" ]; then
88
99 # Install xmrig depends
1010 sudo apt install -y software-properties-common git build-essential cmake libuv1-dev libssl-dev libmicrohttpd-dev libhwloc-dev gcc g++
maintenance.sh+1−1
@@ -2,7 +2,7 @@
22
33echo "${_GREEN}MAINTENANCE STARTED${_RESET}"
44
5−if [ $_APT_MAINETANCE = 1 ]; then
5+if [ "$_APT_MAINETANCE" -eq "1" ]; then
66
77 sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean
88