Date: Sunday, May 8, 2016 @ 22:37:51 Author: heftig Revision: 267217 1.3.2-2
Modified: colord/trunk/PKGBUILD colord/trunk/colord.install ----------------+ PKGBUILD | 2 +- colord.install | 13 +++---------- 2 files changed, 4 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-05-08 17:44:59 UTC (rev 267216) +++ PKGBUILD 2016-05-08 20:37:51 UTC (rev 267217) @@ -4,7 +4,7 @@ pkgname=colord pkgver=1.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="System daemon for managing color devices" arch=(i686 x86_64) url="http://www.freedesktop.org/software/colord" Modified: colord.install =================================================================== --- colord.install 2016-05-08 17:44:59 UTC (rev 267216) +++ colord.install 2016-05-08 20:37:51 UTC (rev 267217) @@ -1,15 +1,8 @@ post_install() { - glib-compile-schemas /usr/share/glib-2.0/schemas - if ! getent passwd colord >/dev/null; then - groupadd -g 124 colord - useradd -d /var/lib/colord -u 124 -g colord -s /bin/false colord - fi + getent group colord >/dev/null || groupadd -g 124 colord + getent passwd colord >/dev/null || useradd -d /var/lib/colord -u 124 -g colord -s /bin/false colord } post_upgrade() { - glib-compile-schemas /usr/share/glib-2.0/schemas + post_install } - -post_remove() { - glib-compile-schemas /usr/share/glib-2.0/schemas -}