|
|
@ -100,6 +100,7 @@ pub fn clone(noconfirm: bool, pkg: &str) {
|
|
|
|
let install_result = Command::new("makepkg")
|
|
|
|
let install_result = Command::new("makepkg")
|
|
|
|
.arg("-si")
|
|
|
|
.arg("-si")
|
|
|
|
.arg("--noconfirm")
|
|
|
|
.arg("--noconfirm")
|
|
|
|
|
|
|
|
.arg("--needed")
|
|
|
|
.status();
|
|
|
|
.status();
|
|
|
|
match install_result {
|
|
|
|
match install_result {
|
|
|
|
Ok(_) => {
|
|
|
|
Ok(_) => {
|
|
|
@ -113,6 +114,7 @@ pub fn clone(noconfirm: bool, pkg: &str) {
|
|
|
|
sec(format!("Installing {} ...", pkg));
|
|
|
|
sec(format!("Installing {} ...", pkg));
|
|
|
|
let install_result = Command::new("makepkg")
|
|
|
|
let install_result = Command::new("makepkg")
|
|
|
|
.arg("-si")
|
|
|
|
.arg("-si")
|
|
|
|
|
|
|
|
.arg("--needed")
|
|
|
|
.status()
|
|
|
|
.status()
|
|
|
|
.expect("Couldn't call makepkg");
|
|
|
|
.expect("Couldn't call makepkg");
|
|
|
|
match install_result.code() {
|
|
|
|
match install_result.code() {
|
|
|
|