mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-07-10 23:56:01 +08:00
update src/etc/profile.d/bookworm-compatability-mode.sh.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
1e88351964
commit
e2769c15d2
@ -11,8 +11,8 @@ fi
|
|||||||
# Desktop files (used by desktop environments within both X11 and Wayland) are
|
# Desktop files (used by desktop environments within both X11 and Wayland) are
|
||||||
# looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for
|
# looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for
|
||||||
# snappy applications' desktop files.
|
# snappy applications' desktop files.
|
||||||
bcm_path="/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env/usr/share/"
|
ACE_path="/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env/usr/share/"
|
||||||
if [ -n "${XDG_DATA_DIRS##*${bcm_path}}" ] && [ -n "${XDG_DATA_DIRS##*${bcm_path}:*}" ]; then
|
if [ -n "${XDG_DATA_DIRS##*${ACE_path}}" ] && [ -n "${XDG_DATA_DIRS##*${ACE_path}:*}" ]; then
|
||||||
export XDG_DATA_DIRS="${XDG_DATA_DIRS}:${bcm_path}"
|
export XDG_DATA_DIRS="${ACE_path}:${XDG_DATA_DIRS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user