fixing up installation yet again

i18n
jnats 3 years ago
parent 95a17834d5
commit ade2ff6a0f

@ -18,8 +18,7 @@ pub fn clone(pkg: &str) {
env::set_current_dir(&cachedir);
Command::new("makepkg")
.arg("-i")
.spawn()
.expect(&error);
.arg("--noconfirm")
.spawn();
}
}

@ -5,4 +5,4 @@ ame -S <pkg> - install a package
ame -R <pkg> - remove a package
ame -Syu - system upgrade
ame -Ss <pkg> - search for a package")
}
}

@ -40,4 +40,4 @@ fn main() {
help();
exit(0);
}
}
}

@ -9,4 +9,4 @@ pub fn uninstall(pkg: &str) {
.spawn()
//.status() TODO: for some reason cant use both .spawn and .status at the same time, need fix
.expect(&errstr);
}
}
Loading…
Cancel
Save