Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=69ef76c8773244c36be0111e24a13c98ec671742
commit 69ef76c8773244c36be0111e24a13c98ec671742 Author: DeX77 <[email protected]> Date: Tue Dec 8 10:51:05 2015 +0100 polkit-0.113-3-x86_64 * fix install: use fullpath diff --git a/source/base/polkit/FrugalBuild b/source/base/polkit/FrugalBuild index a3d82ac..4a74e8c 100644 --- a/source/base/polkit/FrugalBuild +++ b/source/base/polkit/FrugalBuild @@ -2,11 +2,9 @@ # Maintainer: Baste <[email protected]> # Contributor: bouleetbil <[email protected]> -options+=('asneeded') - pkgname=polkit pkgver=0.113 -pkgrel=2 +pkgrel=3 pkgdesc="Policy framework for controlling privileges for system-wide services" url="http://www.freedesktop.org/wiki/Software/polkit" depends=('pam>=1.1.8' 'expat>=2.1.0-2' 'systemd>=224-9' 'spidermonkey' 'scriptlet-core') diff --git a/source/base/polkit/polkit.install b/source/base/polkit/polkit.install index 33981b4..3bb10a5 100644 --- a/source/base/polkit/polkit.install +++ b/source/base/polkit/polkit.install @@ -1,7 +1,7 @@ post_install() { - getent group polkitd 2>&1 > /dev/null || groupadd -g 67 polkitd - getent passwd polkitd 2>&1 > /dev/null || useradd -s /bin/false -c "polkitd" -d '/' -u 67 -g polkitd polkitd + getent group polkitd 2>&1 > /dev/null || /usr/sbin/groupadd -g 67 polkitd + getent passwd polkitd 2>&1 > /dev/null || /usr/sbin/useradd -s /bin/false -c "polkitd" -d '/' -u 67 -g polkitd polkitd } post_upgrade() @@ -17,8 +17,8 @@ pre_remove() post_remove() { systemctl daemon-reload 2>&1 > /dev/null - getent passwd polkitd 2>&1 > /dev/null && userdel polkitd - getent group polkitd 2>&1 > /dev/null && groupdel polkitd + getent passwd polkitd 2>&1 > /dev/null && /usr/sbin/userdel polkitd + getent group polkitd 2>&1 > /dev/null && /usr/sbin/groupdel polkitd } op=$1 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
