Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
fix: GNOME detection for customized version (#790)
Browse files Browse the repository at this point in the history
Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo authored and r-darwish committed Dec 9, 2021
1 parent 38a3ca2 commit ef02f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steps/os/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit ef02f7d

Please sign in to comment.