From c7a05ae781f05ac9eef53d746e692170d8287c5f Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 24 Jun 2015 09:31:50 +0200 Subject: profile: Don't override pre-existing XDG_DATA_DIRS env vars --- profile/xdg-app.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile') diff --git a/profile/xdg-app.sh.in b/profile/xdg-app.sh.in index 2dc212e..4c86566 100644 --- a/profile/xdg-app.sh.in +++ b/profile/xdg-app.sh.in @@ -1,4 +1,4 @@ # @sysconfdir@/profile.d/xdg-app.sh - set XDG_DATA_DIRS -XDG_DATA_DIRS="$HOME/.local/share/xdg-app/exports/share:@localstatedir@/xdg-app/exports/share/:/usr/local/share/:/usr/share/" +XDG_DATA_DIRS="${XDG_DATA_DIRS:-$HOME/.local/share/xdg-app/exports/share:@localstatedir@/xdg-app/exports/share/:/usr/local/share/:/usr/share/}" export XDG_DATA_DIRS -- cgit v1.2.1