mirror of
				https://github.com/kewlfft/ansible-aur.git
				synced 2025-11-04 01:52:31 +03:00 
			
		
		
		
	if in one line
This commit is contained in:
		
							
								
								
									
										5
									
								
								aur.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								aur.py
									
									
									
									
									
								
							@@ -184,10 +184,7 @@ def install_packages(module, packages, use, skip_installed, aur_only):
 | 
			
		||||
 | 
			
		||||
        changed_iter = changed_iter or not (out == '' or '-- skipping' in out or 'nothing to do' in out)
 | 
			
		||||
 | 
			
		||||
    if changed_iter:
 | 
			
		||||
        message = 'installed package(s)'
 | 
			
		||||
    else:
 | 
			
		||||
        message = 'package(s) already installed'
 | 
			
		||||
    message = 'installed package(s)' if changed_iter else 'package(s) already installed'
 | 
			
		||||
 | 
			
		||||
    module.exit_json(
 | 
			
		||||
        changed=changed_iter,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user