From 66a7843de31130a9244df495a3445d1c822ff0bb Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Fri, 6 Apr 2018 11:03:37 -0400 Subject: [PATCH] remove unecessary use of sudo --- etc/minetestserver-update-from-git.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/minetestserver-update-from-git.sh b/etc/minetestserver-update-from-git.sh index 53c5881..a21d18f 100644 --- a/etc/minetestserver-update-from-git.sh +++ b/etc/minetestserver-update-from-git.sh @@ -3,11 +3,11 @@ if [ -d "$HOME/Downloads/minetest" ]; then cd "$HOME/Downloads" - cd minetest; sudo git pull; sudo make -j$(nproc) + cd minetest; git pull; make -j$(nproc) #cd games; sudo git pull; sudo make -j$(nproc) #git config global user.email "" #git config global user.name "expertmm" - sudo git pull https://github.com/minetest/minetest_game.git + git pull https://github.com/minetest/minetest_game.git #sudo git fetch #sudo git checkout HEAD games/minetest_game #sudo make install