Browse Source

remove unecessary use of sudo

master
poikilos 7 years ago
committed by Jacob Gustafson
parent
commit
66a7843de3
  1. 4
      etc/minetestserver-update-from-git.sh

4
etc/minetestserver-update-from-git.sh

@ -3,11 +3,11 @@
if [ -d "$HOME/Downloads/minetest" ]; then if [ -d "$HOME/Downloads/minetest" ]; then
cd "$HOME/Downloads" 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) #cd games; sudo git pull; sudo make -j$(nproc)
#git config global user.email "" #git config global user.email ""
#git config global user.name "expertmm" #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 fetch
#sudo git checkout HEAD games/minetest_game #sudo git checkout HEAD games/minetest_game
#sudo make install #sudo make install

Loading…
Cancel
Save