Accepting request 545002 from home:xiaoguang_wang:branches:GNOME:Factory

- Apply GNOME session as default session on SLE (fate#324384).

OBS-URL: https://build.opensuse.org/request/show/545002
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=157
This commit is contained in:
Dominique Leuenberger 2017-11-24 09:45:58 +00:00 committed by Git OBS Bridge
parent 1e2f03928b
commit 3b66fe1ddd
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 24 01:02:22 UTC 2017 - xwang@suse.com
- Apply GNOME session as default session on SLE (fate#324384).
-------------------------------------------------------------------
Mon Nov 20 03:05:29 UTC 2017 - xwang@suse.com

View File

@ -158,9 +158,9 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
%if !0%{?is_opensuse}
%post -n gnome-shell-classic
%{_sbindir}/update-alternatives --install %{_datadir}/xsessions/default.desktop \
default-xsession.desktop %{_datadir}/xsessions/sle-classic.desktop 30
default-xsession.desktop %{_datadir}/xsessions/sle-classic.desktop 20
%{_sbindir}/update-alternatives --install %{_datadir}/wayland-sessions/default.desktop \
default-waylandsession.desktop %{_datadir}/wayland-sessions/sle-classic.desktop 30
default-waylandsession.desktop %{_datadir}/wayland-sessions/sle-classic.desktop 20
%postun -n gnome-shell-classic
[ -f %{_datadir}/xsessions/sle-classic.desktop ] || %{_sbindir}/update-alternatives \