!27 Support UKUI and kiran desktop

From: @peijiankang 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
This commit is contained in:
openeuler-ci-bot 2024-05-10 09:26:03 +00:00 committed by Gitee
commit 9dc65824a9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 10 additions and 1 deletions

View File

@ -10,8 +10,10 @@
GSESSION="$(type -p gnome-session)"
MSESSION="$(type -p mate-session)"
KSESSION="$(type -p kiran-session-manager)"
STARTKDE="$(type -p startkde)"
STARTLXDE="$(type -p startlxde)"
USESSION="$(type -p ukui-session)"
# check to see if the user has a preferred desktop
PREFERRED=
@ -25,6 +27,10 @@ if [ -f /etc/sysconfig/desktop ]; then
PREFERRED="$STARTKDE"
elif [ "$DESKTOP" = "LXDE" ]; then
PREFERRED="$STARTLXDE"
elif [ "$DESKTOP" = "KIRAN" ]; then
PREFERRED="$KSESSION"
elif [ "$DESKTOP" = "UKUI" ]; then
PREFERRED="$USESSION"
fi
fi

View File

@ -1,6 +1,6 @@
Name: xorg-x11-xinit
Version: 1.4.2
Release: 1
Release: 2
Summary: X.Org X11 X Window System xinit startup scripts
License: MIT
URL: https://www.x.org
@ -69,6 +69,9 @@ install -D -p -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_libexecdir}/xinit-compat
%{_mandir}/man1/xinit.1*
%changelog
* Fri May 10 2024 peijiankang <peijiankang@kylinos.cn> - 1.4.2-2
- Support UKUI and kiran desktop
* Sat Sep 02 2023 wulei <wu_lei@hoperun.com> - 1.4.2-1
- Update to 1.4.2