forked from ungleich-public/cdist
		
	bugfix for newer zypper (SLES12SP1) releases, different column numbers in output
This commit is contained in:
		
					parent
					
						
							
								32557cfa2c
							
						
					
				
			
			
				commit
				
					
						0179904675
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -27,4 +27,4 @@ else
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
# simpler command which works only on SLES11 SP3 or newer:
 | 
					# simpler command which works only on SLES11 SP3 or newer:
 | 
				
			||||||
# echo $(zypper ls -u -E | grep -E "\<$uri\>" | cut -d'|' -f 7)
 | 
					# echo $(zypper ls -u -E | grep -E "\<$uri\>" | cut -d'|' -f 7)
 | 
				
			||||||
echo $(zypper ls -u | grep -E '^([^|]+\|){3,3} Yes' | grep -E "\<$uri\>" | cut -d'|' -f 7 )
 | 
					echo $(zypper ls -u | grep -E '^([^|]+\|){3,3} Yes' | grep -E "\<$uri\>" | awk '{print $NF}')
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue