!19 [sync] PR-18: support kiran desktop

From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-12-14 01:18:31 +00:00 committed by Gitee
commit a0c70d1d70
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 7 additions and 1 deletions

View File

@ -10,6 +10,7 @@
GSESSION="$(type -p gnome-session)"
MSESSION="$(type -p mate-session)"
KSESSION="$(type -p kiran-session-manager)"
STARTKDE="$(type -p startkde)"
STARTLXDE="$(type -p startlxde)"
@ -25,6 +26,8 @@ if [ -f /etc/sysconfig/desktop ]; then
PREFERRED="$STARTKDE"
elif [ "$DESKTOP" = "LXDE" ]; then
PREFERRED="$STARTLXDE"
elif [ "$DESKTOP" = "KIRAN" ]; then
PREFERRED="$KSESSION"
fi
fi

View File

@ -1,6 +1,6 @@
Name: xorg-x11-xinit
Version: 1.4.1
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
* Wed Mar 30 2022 ouyangminxiang <ouyangminxiang@kylinsec.com.cn> - 1.4.1-2
- Support kiran desktop
* Wed Jan 12 2022 yaoxin <yaoxin30@huawei.com> - 1.4.1-1
- Upgrade xorg-x11-xinit to 1.4.1