axtloss/rework-partitioning
axtloss 2 years ago
parent c9a812a614
commit ae881c5bac

@ -238,7 +238,6 @@ pub struct NewUserArgs {
pub enum DesktopSetup {
//#[clap(name = "onyx")]
//Onyx,
#[clap(name = "gnome")]
Gnome,

@ -95,4 +95,3 @@ pub fn root_pass(root_pass: &str) {
"set root password",
);
}

@ -1,5 +1,5 @@
use crate::internal::*;
use crate::functions::partition::umount;
use crate::internal::*;
use std::process::Command;
pub fn install(pkgs: Vec<&str>) {

@ -53,7 +53,13 @@ fn main() {
}
Command::Users { subcommand } => match subcommand {
UsersSubcommand::NewUser(args) => {
users::new_user(&args.username, args.hasroot, &args.password, true, &args.shell);
users::new_user(
&args.username,
args.hasroot,
&args.password,
true,
&args.shell,
);
}
UsersSubcommand::RootPass { password } => {
users::root_pass(&password);

Loading…
Cancel
Save