Fix typo in onyx desktop selection

Signed-off-by: trivernis <trivernis@protonmail.com>
axtloss/rework-partitioning
trivernis 3 years ago
parent 152551ec92
commit 88f2760b33
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -162,13 +162,13 @@ pub struct NewUserArgs {
#[derive(Debug, ArgEnum, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Serialize, Deserialize)]
pub enum DesktopSetup {
#[clap(name = "onxy")]
#[clap(name = "onyx")]
Onyx,
#[clap(name = "gnome")]
Gnome,
#[clap(name = "kde")]
#[clap(name = "kde", aliases = ["plasma"])]
Kde,
#[clap(name = "budgie")]

@ -24,6 +24,7 @@ pub fn set_locale(locale: String) {
files::append_file("/mnt/etc/locale.gen", "en_US.UTF-8 UTF-8\n"),
"add en_US.UTF-8 UTF-8 to locale.gen",
);
// TODO: Refactor this
for i in (0..locale.split(' ').count()).step_by(2) {
files_eval(
files::append_file(

Loading…
Cancel
Save