can now properly install from repos and aur
parent
85c02b91af
commit
e88e0e0950
@ -0,0 +1,6 @@
|
||||
use runas::Command;
|
||||
|
||||
pub fn install(pkg: &str) {
|
||||
let errstr = format!("Something went wrong");
|
||||
Command::new("pacman").arg("-S").arg(&pkg).status().expect(&errstr);
|
||||
}
|
Loading…
Reference in New Issue