mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	https://github.com/kedap/apmpkg A Package Manager as a model: PKGBUILD fix lint fix indent level (Right) fixing lint again fixing indent level according to editorconfig (Erroneous) fixing indent level (Right)
		
			
				
	
	
		
			23 lines
		
	
	
		
			771 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			771 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| Author: Kedap <kedap.dev@protonmail.com>
 | |
| Summary: Fix the problem with compilation in outdate versions of rust
 | |
| --- a/src/core_funcions.rs	2021-09-29 13:25:40.248455519 -0500
 | |
| +++ b/core_funcions.rs	2021-09-29 16:03:46.198414493 -0500
 | |
| @@ -281,7 +281,7 @@
 | |
|      let depen_arr = &adi_paquete.dependencias;
 | |
|  
 | |
|      //Selecionando los gestores instalados
 | |
| -    for gestor in catalogo {
 | |
| +    for gestor in catalogo.iter() {
 | |
|          let comando = Command::new("bash")
 | |
|              .arg("-c")
 | |
|              .arg(gestor)
 | |
| @@ -368,7 +368,7 @@
 | |
|      let mut gestores = Vec::new();
 | |
|  
 | |
|      //Selecionando los gestores instalados
 | |
| -    for gestor in catalogo {
 | |
| +    for gestor in catalogo.iter() {
 | |
|          let comando = Command::new("bash")
 | |
|              .arg("-c")
 | |
|              .arg(gestor)
 |