added upgrade option
parent
d1903894ff
commit
4c80755318
@ -0,0 +1,9 @@
|
||||
use std::process::Command;
|
||||
|
||||
pub fn upgrade() {
|
||||
let errstr = format!("Something happened");
|
||||
Command::new("pacman")
|
||||
.arg("-Syu")
|
||||
.output()
|
||||
.expect(&errstr);
|
||||
}
|
Loading…
Reference in New Issue