From fd9686e44026dcb79f202b579cdf021be80c9063 Mon Sep 17 00:00:00 2001 From: jan Michal Date: Thu, 27 Jan 2022 23:16:02 +0000 Subject: [PATCH] arms tuff --- src/main.rs | 2 +- src/repository/package.rs | 2 +- src/repository/repo.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 75f7743..b700d3d 100755 --- a/src/main.rs +++ b/src/main.rs @@ -238,7 +238,7 @@ fn main() { for pkg in packages { let dups = Command::new("bash") - .args(&["-c", &format!("ls out/{}*.tar.zst -w 1 | sort -r", pkg)]) + .args(&["-c", &format!("ls out/{}*.tar.* -w 1 | sort -r", pkg)]) .output() .unwrap() .stdout diff --git a/src/repository/package.rs b/src/repository/package.rs index f3218fa..4e64d19 100755 --- a/src/repository/package.rs +++ b/src/repository/package.rs @@ -23,7 +23,7 @@ pub fn build(pkg: String) { .unwrap(); Command::new("bash") - .args(&["-c", "cp *.pkg.tar.zst* ../out/"]) + .args(&["-c", "cp *.pkg.tar* ../out/"]) .spawn() .unwrap() .wait() diff --git a/src/repository/repo.rs b/src/repository/repo.rs index 1064e0c..7fa681a 100644 --- a/src/repository/repo.rs +++ b/src/repository/repo.rs @@ -27,7 +27,7 @@ pub fn generate() { let files = format!("{}.files", &name); Command::new("bash") - .args(&["-c", &format!("repo-add {}.tar.gz *.pkg.tar.zst", db)]) + .args(&["-c", &format!("repo-add {}.tar.gz *.pkg.tar.*", db)]) .spawn() .unwrap() .wait()