From d0ff4161efd16dae24916f426cce2d56ba92701b Mon Sep 17 00:00:00 2001 From: Marwolf Date: Sat, 14 Jul 2018 20:45:18 -0400 Subject: [PATCH] Sudo access is required --- Setup_Linux_Mac.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Setup_Linux_Mac.sh b/Setup_Linux_Mac.sh index 9675ebc..b4d4b92 100755 --- a/Setup_Linux_Mac.sh +++ b/Setup_Linux_Mac.sh @@ -292,7 +292,7 @@ if [ "$choice" == "1" ]; then echo "" echo "You may now be prompted for your password so the installer has sudo access." echo "" - cd Game && git reset HEAD --hard && git pull + cd Game && sudo git reset HEAD --hard && sudo git pull echo "" echo "" echo "Logging into Docker Hub to get the required images." @@ -339,9 +339,9 @@ elif [ "$choice" == "2" ]; then echo "" echo "You may now be prompted for your password so the installer has sudo access." echo "" - cd Game && git reset HEAD --hard && git pull + cd Game && sudo git reset HEAD --hard && sudo git pull echo "" - cd Website && git reset HEAD --hard && git pull + cd Website && sudo git reset HEAD --hard && sudo git pull echo "" echo "" echo "Logging into Docker Hub to get the required images." @@ -390,11 +390,11 @@ elif [ "$choice" == "3" ]; then echo "" echo "You may now be prompted for your password so the installer has sudo access." echo "" - cd Game && git reset HEAD --hard && git pull + cd Game && git sudo reset HEAD --hard && sudo git pull echo "" - cd Website && git reset HEAD --hard && git pull + cd Website && sudo git reset HEAD --hard && sudo git pull echo "" - cd Website/Wiki && git reset HEAD --hard && git pull + cd Website/Wiki && sudo git reset HEAD --hard && sudo git pull echo "" echo "" echo "Logging into Docker Hub to get the required images."