This PR adds a check at each step to see if files/directories/balances/etc exist before taking the associated actions. Now the script can be run over and over again, and the result will either a) install/setup things from scratch or b) update with the most recent code from the repo THEN run the miner.
This PR adds a check at each step to see if files/directories/balances/etc exist before taking the associated actions. Now the script can be run over and over again, and the result will either a) install/setup things from scratch or b) update with the most recent code from the repo THEN run the miner.