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