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.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							706 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							21 lines
						
					
					
						
							706 B
						
					
					
				
								#!/bin/bash
							 | 
						|
								rsync -rtv mtio:/opt/minebest/ ~/linux-minetest-kit-rsync --exclude "mtkit/minetest/" --exclude "assemble/" --exclude "mtkit0/"
							 | 
						|
								# ^ exclude mtkit/minetest/ and assemble/ since they are remotely-built copies of the program.
							 | 
						|
								# --info=progress2
							 | 
						|
								code=$?
							 | 
						|
								if [ $code -eq 0 ]; then
							 | 
						|
								    echo "Updating ~/linux-minetest-kit-rsync...OK"
							 | 
						|
								else
							 | 
						|
								    echo "Updating ~/linux-minetest-kit-rsync...FAILED"
							 | 
						|
								fi
							 | 
						|
								cd ~/linux-minetest-kit-rsync
							 | 
						|
								cat <<END
							 | 
						|
								
							 | 
						|
								Next do:
							 | 
						|
								
							 | 
						|
								cd ~/linux-minetest-kit-rsync/mtkit
							 | 
						|
								bash -e mtcompile-libraries.sh build
							 | 
						|
								perl mtcompile-program.pl --build --finetest --client
							 | 
						|
								cd ~/linux-minetest-kit-rsync/mtkit/minetest/bin
							 | 
						|
								nopackage install finetest --version rsync --caption "Finetest (rsync)"
							 | 
						|
								END
							 | 
						|
								
							 |