Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=41af2e6655cfff67d22625347c6faab266a24346
commit 41af2e6655cfff67d22625347c6faab266a24346 Author: James Buren <[email protected]> Date: Sun Apr 7 05:21:43 2013 -0500 systemd-199-2-x86_64 * adjust how the new systemd groups are added/removed diff --git a/source/base/systemd/FrugalBuild b/source/base/systemd/FrugalBuild index 504efce..f1177fe 100644 --- a/source/base/systemd/FrugalBuild +++ b/source/base/systemd/FrugalBuild @@ -6,7 +6,7 @@ USE_SYSV_COMPAT=${USE_SYSV_COMPAT:-"y"} pkgname=systemd pkgver=199 -pkgrel=1 +pkgrel=2 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' 'pciutils' 'usbutils' 'shadow' 'libgcrypt' 'libblkid') diff --git a/source/base/systemd/systemd.install b/source/base/systemd/systemd.install index d6e4351..12802d8 100644 --- a/source/base/systemd/systemd.install +++ b/source/base/systemd/systemd.install @@ -7,9 +7,9 @@ post_common() { xorg-set-resolution.service \ [email protected] \ remote-fs.target - getent group systemd-journal 2>&1 > /dev/null || groupadd -r -g 57 systemd-journal - getent group systemd-journal-gateway 2>&1 > /dev/null || groupadd -r -g 58 systemd-journal-gateway >/dev/null 2>&1 - getent passwd systemd-journal-gateway 2>&1 > /dev/null || useradd -r -l -u 58 -g systemd-journal-gateway -d /var/log/journal -s /usr/sbin/nologin -c "Journal Gateway" systemd-journal-gateway >/dev/null 2>&1 + getent group systemd-journal 2>&1 > /dev/null || groupadd -g 57 systemd-journal + getent group systemd-journal-gateway 2>&1 > /dev/null || groupadd -g 58 systemd-journal-gateway + getent passwd systemd-journal-gateway 2>&1 > /dev/null || useradd -u 58 -g systemd-journal-gateway -d /var/log/journal -s /usr/sbin/nologin -c "Journal Gateway" systemd-journal-gateway } post_install() { @@ -32,6 +32,9 @@ post_upgrade() { post_remove() { getent group lock 2>&1 > /dev/null && groupdel lock + getent group systemd-journal 2>&1 > /dev/null && groupdel systemd-journal + getent passwd systemd-journal-gateway 2>&1 > /dev/null && userdel systemd-journal-gateway + getent group systemd-journal-gateway 2>&1 > /dev/null && groupdel systemd-journal-gateway } op=$1 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
