Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting10.git;a=commitdiff;h=9b6deafb235a8d585f1d24fb13172d298a51300c
commit 9b6deafb235a8d585f1d24fb13172d298a51300c Author: James Buren <[email protected]> Date: Mon Feb 18 04:35:41 2013 -0600 systemd-197-7-x86_64 * release bump * modify group creation to follow new dbus logic diff --git a/source/base/systemd/FrugalBuild b/source/base/systemd/FrugalBuild index 76b67e3..f17a762 100644 --- a/source/base/systemd/FrugalBuild +++ b/source/base/systemd/FrugalBuild @@ -6,10 +6,10 @@ USE_SYSV_COMPAT=${USE_SYSV_COMPAT:-"y"} pkgname=systemd pkgver=197 -pkgrel=6 +pkgrel=7 pkgdesc="A System and Service Manager" url="http://www.freedesktop.org/wiki/Software/systemd" -depends=('dbus>=1.6.8-3' 'kmod>=7' 'pam' 'coreutils' 'libcap' 'sysvinit-initscripts' 'sysvinit-tools' 'xfsprogs-acl' 'pciutils' 'usbutils' 'shadow' 'libgcrypt' 'libblkid') +depends=('dbus>=1.6.8-3' 'kmod>=7' 'pam' 'coreutils' 'libcap' 'sysvinit-initscripts' 'sysvinit-tools' 'pciutils' 'usbutils' 'shadow' 'libgcrypt' 'libblkid') makedepends=('docbook-xsl>=1.73.0-2' 'docbook-xml' 'intltool' 'gperf' 'gtk-doc' 'gobject-introspection') options=('scriptlet') up2date="Flasttar http://www.freedesktop.org/software/$pkgname" diff --git a/source/base/systemd/systemd.install b/source/base/systemd/systemd.install index e1ba89d..a62b996 100644 --- a/source/base/systemd/systemd.install +++ b/source/base/systemd/systemd.install @@ -1,4 +1,5 @@ post_common() { + getent group lock 2>&1 > /dev/null || groupadd -g 55 lock udevadm hwdb --update journalctl --update-catalog systemd-machine-id-setup @@ -10,9 +11,6 @@ post_common() { } post_install() { - # create group - getent group lock || groupadd -g 55 lock - # runlevel ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target @@ -34,7 +32,7 @@ post_upgrade() { } post_remove() { - getent group lock && groupdel lock + getent group lock 2>&1 > /dev/null && groupdel lock } op=$1 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
