fix unary operator

This commit is contained in:
Sean Wheller 2019-08-12 19:50:08 +02:00
parent 6a6b913746
commit dd97fdc694
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
echo "${_GREEN}INSTALL DEPENDS STARTED${_RESET}" echo "${_GREEN}INSTALL DEPENDS STARTED${_RESET}"
if [ $_APT_DEPENDS = 1 ]; then if [ "$_APT_DEPENDS" -eq "1" ]; then
# Install xmrig depends # Install xmrig depends
sudo apt install -y software-properties-common git build-essential cmake libuv1-dev libssl-dev libmicrohttpd-dev libhwloc-dev gcc g++ sudo apt install -y software-properties-common git build-essential cmake libuv1-dev libssl-dev libmicrohttpd-dev libhwloc-dev gcc g++

View File

@ -2,7 +2,7 @@
echo "${_GREEN}MAINTENANCE STARTED${_RESET}" 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 sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean