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(
|
||||||
|
Command::new("crystalstrap")
|
||||||
.arg("/mnt")
|
.arg("/mnt")
|
||||||
.args(&pkgs)
|
.args(&pkgs)
|
||||||
.status(), format!("Install packages {}", pkgs.join(", ")).as_str());
|
.status(),
|
||||||
|
format!("Install packages {}", pkgs.join(", ")).as_str(),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue