From f235c56b82423944ab66c420f50632e4b45de103 Mon Sep 17 00:00:00 2001 From: Noel Georgi Date: Fri, 29 Oct 2021 12:17:43 +0530 Subject: [PATCH] fix: GNOME detection for customized version (#790) Signed-off-by: Noel Georgi --- src/steps/os/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steps/os/unix.rs b/src/steps/os/unix.rs index 72922939..124391d0 100644 --- a/src/steps/os/unix.rs +++ b/src/steps/os/unix.rs @@ -134,7 +134,7 @@ pub fn run_fish_plug(ctx: &ExecutionContext) -> Result<()> { pub fn upgrade_gnome_extensions(ctx: &ExecutionContext) -> Result<()> { let gdbus = require("gdbus")?; require_option( - env::var("XDG_CURRENT_DESKTOP").ok().filter(|p| p == "GNOME"), + env::var("XDG_CURRENT_DESKTOP").ok().filter(|p| p.contains("GNOME")), "Desktop doest not appear to be gnome".to_string(), )?; print_separator("Gnome Shell extensions");