mirror of
https://github.com/ilyakooo0/xmrig-bash-scripts.git
synced 2024-11-25 20:08:24 +03:00
ff4d22766c
change default email fix duplication in depends
24 lines
635 B
Bash
Executable File
24 lines
635 B
Bash
Executable File
#!/bin/bash
|
|
echo "#################################"
|
|
echo " INSTALLING DEPENDENCIES "
|
|
echo "#################################"
|
|
|
|
# Install the software requirements
|
|
|
|
if [ $_APT_DEPENDS = 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++
|
|
|
|
# Install xmrig-bash-scripts depends
|
|
sudo apt install -y jo cpuid screen
|
|
else
|
|
|
|
echo "Depend install is set to NO ($_APT_DEPENDS) Skipping"
|
|
|
|
fi
|
|
|
|
echo "#################################"
|
|
echo " DEPENDENCIES INSTALLED "
|
|
echo "#################################"
|