mps
This commit is contained in:
		
							parent
							
								
									99b931ab84
								
							
						
					
					
						commit
						0a93c88fc4
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		
							
								
								
									
										6
									
								
								bin/mps
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								bin/mps
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -738,8 +738,10 @@ if [ "$ikaynak" = "ag" ]; then
 | 
			
		|||
			#if wget -P /tmp -q "$sunucu$cpaket" > /dev/null; then
 | 
			
		||||
			if [ $? -eq 0 ]; then
 | 
			
		||||
				wget -nc -P "$paketdepo" "$sunucu$cpaket"
 | 
			
		||||
				ekontdeg=`cat "$paketdepo""paket.vt" | grep "^$2 " | cut -d' ' -f2`
 | 
			
		||||
				mkontdeg=`md5sum $pkt | cut -d' ' -f1`
 | 
			
		||||
				if [ -f "$paketde""popaket.vt" ];then
 | 
			
		||||
					ekontdeg=`cat "$paketdepo""paket.vt" | grep "^$2 " | cut -d' ' -f2`
 | 
			
		||||
					mkontdeg=`md5sum $pkt | cut -d' ' -f1`
 | 
			
		||||
				fi
 | 
			
		||||
				if [ "$ekontdeg" != "$mkontdeg" ];then
 | 
			
		||||
					rm -f $pkt
 | 
			
		||||
					wget -nc -P "$paketdepo" "$sunucu$cpaket"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue