actually use the genfstab function
parent
c0eef77d11
commit
533b9e7cb1
@ -1,9 +1,12 @@
|
|||||||
use std::process::Command;
|
|
||||||
use crate::internal::*;
|
use crate::internal::*;
|
||||||
|
use std::process::Command;
|
||||||
|
|
||||||
pub fn install(pkgs: Vec<&str>) {
|
pub fn install(pkgs: Vec<&str>) {
|
||||||
exec_eval(Command::new("crystalstrap")
|
exec_eval(
|
||||||
.arg("/mnt")
|
Command::new("crystalstrap")
|
||||||
.args(&pkgs)
|
.arg("/mnt")
|
||||||
.status(), format!("Install packages {}", pkgs.join(", ")).as_str());
|
.args(&pkgs)
|
||||||
|
.status(),
|
||||||
|
format!("Install packages {}", pkgs.join(", ")).as_str(),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue