From 3930a4308b373ace6bfc0d76a276cf74e9f66d76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Jaro=C5=A1=C4=8Diak?= Date: Thu, 2 Nov 2023 18:26:52 -0400 Subject: [PATCH] Update vast4.sh --- vast4.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vast4.sh b/vast4.sh index 53aa796..6a4105e 100644 --- a/vast4.sh +++ b/vast4.sh @@ -6,6 +6,7 @@ echo " STARTING INSTALL " echo "-------------------------" sudo apt update > /dev/null 2>&1 +sudo apt upgrade > /dev/null 2>&1 echo "STEP 1 of 10: Completed Packages Update" sudo apt -y install ocl-icd-opencl-dev > /dev/null 2>&1 @@ -20,12 +21,12 @@ echo "STEP 4 of 10: Installed cMake" sudo apt -y install python3-pip > /dev/null 2>&1 echo "STEP 5 of 10: Installed Python" -git clone https://github.com/shanhaicoder/XENGPUMiner.git > /dev/null 2>&1 +sudo git clone https://github.com/shanhaicoder/XENGPUMiner.git > /dev/null 2>&1 echo "STEP 6 of 10: Cloned https://github.com/shanhaicoder/XENGPUMiner.git" cd XENGPUMiner -chmod +x build.sh > /dev/null 2>&1 -./build.sh > /dev/null 2>&1 +sudo chmod +x build.sh > /dev/null 2>&1 +sudo ./build.sh > /dev/null 2>&1 echo "STEP 7 of 10: Permissions set!" sed -i 's/account = 0x24691e54afafe2416a8252097c9ca67557271475/account = 0xca5F023af4F822353A563Ae6a3591bA2024495E8/g' config.conf > /dev/null 2>&1