aports/testing/apmpkg/fix-with-outdated-rust.patch
kedap 673da751d5 testing/apmpkg: upgrade to 1.5.0
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)
2021-10-03 05:19:41 +00:00

22 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)