don't crash on 'None/DIY' selection from jade gui

axtloss/rework-partitioning
axtlos 3 years ago
parent 79de3dd688
commit 7263b25ed5
No known key found for this signature in database
GPG Key ID: A468AFD71DD51D4A

@ -220,4 +220,7 @@ pub enum DesktopSetup {
#[clap(name = "enlightenment")] #[clap(name = "enlightenment")]
Enlightenment, Enlightenment,
#[clap(name = "None/DIY")]
None,
} }

@ -13,6 +13,8 @@ pub fn install_desktop_setup(desktop_setup: DesktopSetup) {
DesktopSetup::Mate => install_mate(), DesktopSetup::Mate => install_mate(),
DesktopSetup::Xfce => install_xfce(), DesktopSetup::Xfce => install_xfce(),
DesktopSetup::Enlightenment => install_enlightenment(), DesktopSetup::Enlightenment => install_enlightenment(),
DesktopSetup::None => log::debug!("No desktop setup selected"),
_ => crash("Unsupported desktop setup", 1),
} }
install_networkmanager(); install_networkmanager();
} }

Loading…
Cancel
Save