mirror of
https://github.com/ilyakooo0/xmrig-bash-scripts.git
synced 2024-11-22 04:04:22 +03:00
fix unary operator
This commit is contained in:
parent
6a6b913746
commit
dd97fdc694
@ -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++
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user