[arch-commits] Commit in policykit/trunk (PKGBUILD policykit.install)
Jan de Groot
jgc at archlinux.org
Thu Oct 9 08:57:05 UTC 2008
Date: Thursday, October 9, 2008 @ 04:57:04
Author: jgc
Revision: 14696
upgpkg: policykit 0.9-4
Remove use of reserved gid
Modified:
policykit/trunk/PKGBUILD
policykit/trunk/policykit.install
-------------------+
PKGBUILD | 2 +-
policykit.install | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-10-09 03:36:10 UTC (rev 14695)
+++ PKGBUILD 2008-10-09 08:57:04 UTC (rev 14696)
@@ -3,7 +3,7 @@
pkgname=policykit
pkgver=0.9
-pkgrel=3
+pkgrel=4
pkgdesc="Hardware Abstraction Layer"
arch=(i686 x86_64)
license=('custom')
Modified: policykit.install
===================================================================
--- policykit.install 2008-10-09 03:36:10 UTC (rev 14695)
+++ policykit.install 2008-10-09 08:57:04 UTC (rev 14696)
@@ -1,9 +1,9 @@
post_install() {
- getent group policykit >/dev/null || usr/sbin/groupadd -g 102 policykit
+ getent group policykit >/dev/null || usr/sbin/groupadd policykit
getent passwd policykit >/dev/null || usr/sbin/useradd -c 'PolicyKit' -u 102 -g policykit -d '/' -s /sbin/nologin policykit
usr/bin/passwd -l policykit &>/dev/null
- # set correct permissions in case user existed with a different uid
+ # set correct permissions
chgrp policykit var/{run,lib}/PolicyKit
chown policykit var/lib/PolicyKit-public
chown policykit:policykit var/lib/misc/PolicyKit.reload
More information about the arch-commits
mailing list