You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
457 B
17 lines
457 B
7 years ago
|
#!/bin/sh
|
||
|
|
||
|
|
||
|
if [ -d "$HOME/Downloads/minetest" ]; then
|
||
|
cd "$HOME/Downloads"
|
||
|
cd minetest; 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.name "expertmm"
|
||
|
sudo git pull https://github.com/minetest/minetest_game.git
|
||
|
#sudo git fetch
|
||
|
#sudo git checkout HEAD games/minetest_game
|
||
|
#sudo make install
|
||
|
else
|
||
|
echo "ERROR: no minetest in $HOME/Downloads"
|
||
|
fi
|