From a9dcf84695bb0cd91b538850b02022e292c21e0f Mon Sep 17 00:00:00 2001 From: axtlos Date: Tue, 19 Apr 2022 00:47:46 +0200 Subject: [PATCH] fix smooth brain wrong if check in config --- src/internal/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/config.rs b/src/internal/config.rs index b57e64d..3cd2e3f 100755 --- a/src/internal/config.rs +++ b/src/internal/config.rs @@ -156,7 +156,7 @@ pub fn read_config(configpath: &str) { users::root_pass(config.rootpass.as_str()); println!(); info(format!("Installing desktop : {}", config.desktop)); - if config.desktop == "none" || config.desktop.is_empty() { + if config.desktop != "none" || !config.desktop.is_empty() { desktops::choose_pkgs(config.desktop.as_str()); } println!();