change package path to support alarm packages

Signed-off-by: axtloss <axtlos@tar.black>
i18n
axtloss 2 years ago committed by GitHub
parent bbf40c2e00
commit f49998706a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 { "" }

Loading…
Cancel
Save