From c61d30ff5fc5609a76aadfdb85dfb4c291030850 Mon Sep 17 00:00:00 2001
From: shenmo <jifengshenmo@outlook.com>
Date: Wed, 17 Apr 2024 23:35:23 +0800
Subject: [PATCH] try-fix-v23-settings

---
 src/etc/X11/Xsession.d/20ACE-Bookworm                           | 2 +-
 src/etc/profile.d/ACE-Bookworm.sh                               | 2 +-
 src/usr/lib/systemd/user-environment-generators/60-ACE-Bookworm | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/etc/X11/Xsession.d/20ACE-Bookworm b/src/etc/X11/Xsession.d/20ACE-Bookworm
index e34fad8..d9b81a3 100755
--- a/src/etc/X11/Xsession.d/20ACE-Bookworm
+++ b/src/etc/X11/Xsession.d/20ACE-Bookworm
@@ -12,6 +12,6 @@ fi
 # looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for ACE
 ACE_path="/opt/apps/amber-ce-bookworm/files/ace-env/flamescion-container-tools/data-dir/"
 if [ -n "${XDG_DATA_DIRS##*${ACE_path}}" ] && [ -n "${XDG_DATA_DIRS##*${ACE_path}:*}" ]; then
-    export XDG_DATA_DIRS="${ACE_path}:${XDG_DATA_DIRS}"
+    export XDG_DATA_DIRS="${XDG_DATA_DIRS}:${ACE_path}"
 fi
 
diff --git a/src/etc/profile.d/ACE-Bookworm.sh b/src/etc/profile.d/ACE-Bookworm.sh
index bf76834..3d9b3a9 100755
--- a/src/etc/profile.d/ACE-Bookworm.sh
+++ b/src/etc/profile.d/ACE-Bookworm.sh
@@ -11,6 +11,6 @@ fi
 # looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for ACE
 ACE_path="/opt/apps/amber-ce-bookworm/files/ace-env/flamescion-container-tools/data-dir/"
 if [ -n "${XDG_DATA_DIRS##*${ACE_path}}" ] && [ -n "${XDG_DATA_DIRS##*${ACE_path}:*}" ]; then
-    export XDG_DATA_DIRS="${ACE_path}:${XDG_DATA_DIRS}"
+    export XDG_DATA_DIRS="${XDG_DATA_DIRS}:${ACE_path}"
 fi
 
diff --git a/src/usr/lib/systemd/user-environment-generators/60-ACE-Bookworm b/src/usr/lib/systemd/user-environment-generators/60-ACE-Bookworm
index b44dd4a..00f23c0 100755
--- a/src/usr/lib/systemd/user-environment-generators/60-ACE-Bookworm
+++ b/src/usr/lib/systemd/user-environment-generators/60-ACE-Bookworm
@@ -12,6 +12,6 @@ fi
 # looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for ACE
 ACE_path="/opt/apps/amber-ce-bookworm/files/ace-env/flamescion-container-tools/data-dir/"
 if [ -n "${XDG_DATA_DIRS##*${ACE_path}}" ] && [ -n "${XDG_DATA_DIRS##*${ACE_path}:*}" ]; then
-    export XDG_DATA_DIRS="${ACE_path}:${XDG_DATA_DIRS}"
+    export XDG_DATA_DIRS="${XDG_DATA_DIRS}:${ACE_path}"
 fi