Show Arch news (fix #235)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user