Accepting request 176343 from home:dimstar:branches:GNOME:Factory
- Move %glib2_gsettings_schema_post from %pre to %post: if we execute this prior to installation, the schema will not be registered, as the files are not yet in place. Either copy to G:S:3.8 in this form (1.0.0 is stable release of 0.x series) or at least backport the fix. OBS-URL: https://build.opensuse.org/request/show/176343 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=71
This commit is contained in:
parent
cd4a9ed538
commit
f5def21a22
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 12:45:35 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Move %glib2_gsettings_schema_post from %pre to %post: if we
|
||||||
|
execute this prior to installation, the schema will not be
|
||||||
|
registered, as the files are not yet in place.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 13 18:14:57 UTC 2013 - dimstar@opensuse.org
|
Mon May 13 18:14:57 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -150,9 +150,11 @@ getent group colord >/dev/null || groupadd -r colord
|
|||||||
getent passwd colord >/dev/null || useradd -r -g colord -d %{_localstatedir}/lib/colord -s /sbin/nologin -c "user for colord" colord
|
getent passwd colord >/dev/null || useradd -r -g colord -d %{_localstatedir}/lib/colord -s /sbin/nologin -c "user for colord" colord
|
||||||
# Fix ownership of /var/lib/colord from first packages (in 12.1)
|
# Fix ownership of /var/lib/colord from first packages (in 12.1)
|
||||||
test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord
|
test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord
|
||||||
%glib2_gsettings_schema_post
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
%post
|
||||||
|
%glib2_gsettings_schema_post
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%glib2_gsettings_schema_postun
|
%glib2_gsettings_schema_postun
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user