From f49998706a99b209362a084cea3938d963f08b05 Mon Sep 17 00:00:00 2001 From: axtloss Date: Fri, 26 Aug 2022 18:33:25 +0200 Subject: [PATCH] change package path to support alarm packages Signed-off-by: axtloss --- src/operations/aur_install.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/operations/aur_install.rs b/src/operations/aur_install.rs index 2452e0b..b64b23f 100644 --- a/src/operations/aur_install.rs +++ b/src/operations/aur_install.rs @@ -130,7 +130,7 @@ fn finish(cachedir: &str, pkg: &str, options: &Options) { "-cO", "extglob", format!( - "sudo pacman -U --asdeps {}/!({})/*.zst {}", + "sudo pacman -U --asdeps {}/!({})/*.pkg.tar.* {}", cachedir, pkg, if options.noconfirm { "--noconfirm" } else { "" } @@ -157,7 +157,7 @@ fn finish(cachedir: &str, pkg: &str, options: &Options) { .args(&[ "-c", format!( - "sudo pacman -U {}/{}/*.zst {}", + "sudo pacman -U {}/{}/*.pkg.tar.* {}", cachedir, pkg, if options.noconfirm { "--noconfirm" } else { "" }