Add paru support (fix #548) (#552)

This commit is contained in:
Roey Darwish Dror
2020-11-02 14:00:04 +02:00
committed by GitHub
parent 7783fc77ba
commit 2e0275b816
2 changed files with 248 additions and 217 deletions

463
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -156,7 +156,7 @@ fn upgrade_arch_linux(ctx: &ExecutionContext) -> Result<()> {
};
debug!("Running Arch update with path: {:?}", path);
if let Some(yay) = which("yay") {
if let Some(yay) = which("yay").or_else(|| which("paru")) {
run_type
.execute(&yay)
.arg("-Pw")