diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-06-24 09:31:50 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-06-24 09:31:50 +0200 |
commit | c7a05ae781f05ac9eef53d746e692170d8287c5f (patch) | |
tree | 4fe0fd04f64d5e2264f7bcfb987c4d7aaae97705 /profile | |
parent | 0774aa39e2a80a7ec2a09b0f99b733ed92b7c0af (diff) | |
download | xdg-app-c7a05ae781f05ac9eef53d746e692170d8287c5f.tar.gz |
profile: Don't override pre-existing XDG_DATA_DIRS env vars
Diffstat (limited to 'profile')
-rw-r--r-- | profile/xdg-app.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |