Revert "add --noscripts to run_pkg_transaction, use it in cleanup"
Doesn't help. Less code is better.
This reverts commit c9e23b8941.
			
			
This commit is contained in:
		
							parent
							
								
									acff5093b0
								
							
						
					
					
						commit
						76ecff7bf9
					
				| @ -180,7 +180,7 @@ removepkg xorg-x11-xauth | ||||
| removepkg xorg-x11-xinit | ||||
| removepkg yajl | ||||
| removepkg yum-utils | ||||
| run_pkg_transaction --noscripts | ||||
| run_pkg_transaction | ||||
| 
 | ||||
| ## other removals | ||||
| remove /usr/share/doc | ||||
|  | ||||
| @ -347,9 +347,7 @@ class TemplateRunner(object): | ||||
|             filepaths = [f.lstrip('/') for f in pkg.filelist] | ||||
|             self.remove(*filepaths) | ||||
| 
 | ||||
|     def run_pkg_transaction(self, *args): | ||||
|         if '--noscripts' in args: | ||||
|             self.yum.conf.tsflags.append("noscripts") | ||||
|     def run_pkg_transaction(self): | ||||
|         self.yum.buildTransaction() | ||||
|         self.yum.repos.setProgressBar(LoraxDownloadCallback()) | ||||
|         self.yum.processTransaction(callback=LoraxTransactionCallback(), | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user