it shouldn't install 'kde' (the package doesn't even exist)

axtloss/rework-partitioning
axtlos 3 years ago
parent 3cd7e5768f
commit 2cbb1e297a

@ -84,3 +84,7 @@ pub fn setup_timeshift() {
"setup timeshift",
)
}
pub fn install_homemgr() {
install(vec!["nix"]);
}

@ -34,7 +34,6 @@ pub fn choose_pkgs(desktop_setup: &str) {
"kde" => {
install(vec![
"xorg",
"kde",
"plasma",
"plasma-wayland-session",
"kde-applications",

@ -133,6 +133,10 @@ fn main() {
),
)
)
.subcommand(
SubCommand::with_name("nix")
.about("Install nix"),
)
.subcommand(
SubCommand::with_name("config")
.about("read a jade installation config")
@ -199,9 +203,11 @@ fn main() {
base::genfstab();
} else if app.subcommand_matches("setup-timeshift").is_some() {
base::setup_timeshift();
} else if app.subcommand_matches("nix").is_some() {
base::install_homemgr();
} else if let Some(app) = app.subcommand_matches("config") {
crate::internal::config::read_config(app.value_of("config").unwrap());
} else {
println!("Running TUI installer");
println!("{}", app.usage());
}
}

Loading…
Cancel
Save