|
|
@ -17,6 +17,7 @@ pub fn clone(pkg: &str) {
|
|
|
|
println!("Installing {} ...", pkg);
|
|
|
|
println!("Installing {} ...", pkg);
|
|
|
|
env::set_current_dir(&cachedir);
|
|
|
|
env::set_current_dir(&cachedir);
|
|
|
|
Command::new("makepkg")
|
|
|
|
Command::new("makepkg")
|
|
|
|
|
|
|
|
.arg("-i")
|
|
|
|
.spawn()
|
|
|
|
.spawn()
|
|
|
|
.expect(&error);
|
|
|
|
.expect(&error);
|
|
|
|
}
|
|
|
|
}
|
|
|
|