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); env::set_current_dir(&cachedir);
Command::new("makepkg") Command::new("makepkg")
.arg("-i") .arg("-i")
.spawn() .arg("--noconfirm")
.expect(&error); .spawn();
} }
} }

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

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

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