Browse Source

[PR] dylanaraps/neofetch#1873 from lilyinstarlight - Avoid overwriting GIO_EXTRA_MODULES env var

Upstream PR: https://github.com/dylanaraps/neofetch/pull/1873
Thanks to @lilyinstarlight

Co-authored-by: Lily Foster <lily@lily.flowers>
Azalea (on HyDEV-Daisy) 2 years ago
parent
commit
19d15500d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      neofetch

+ 1 - 1
neofetch

@@ -46,7 +46,7 @@ LC_ALL=C
 LANG=C
 
 # Fix issues with gsettings.
-export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/
+[[ -z $GIO_EXTRA_MODULES ]] && export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/
 
 # Neofetch default config.
 read -rd '' config <<'EOF'