Show Arch news (fix #235)

This commit is contained in:
Roey Darwish Dror
2019-10-07 20:18:11 +03:00
parent 065bb87c97
commit 6bed2f66c5

View File

@@ -139,6 +139,13 @@ fn upgrade_arch_linux(
debug!("Running Arch update with path: {:?}", path); debug!("Running Arch update with path: {:?}", path);
if let Some(yay) = which("yay") { if let Some(yay) = which("yay") {
run_type
.execute(&yay)
.arg("-Pw")
.spawn()
.and_then(|mut p| p.wait())
.ok();
let mut command = run_type.execute(yay); let mut command = run_type.execute(yay);
command command