diff options
author | root <root@rshg047.dnsready.net> | 2011-04-21 04:17:42 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-21 04:17:42 +0000 |
commit | fa4eccdc5034e6953e9b9381570ada0fb3ee983d (patch) | |
tree | 0e36297a392905958bf9ad80e8893b4e72ec2fb0 /community/systemd | |
parent | 862a468489b5081755f9086204a012c7cd3beb3e (diff) |
Thu Apr 21 04:17:42 UTC 2011
Diffstat (limited to 'community/systemd')
-rw-r--r-- | community/systemd/PKGBUILD | 8 | ||||
-rw-r--r-- | community/systemd/systemd.install | 10 |
2 files changed, 5 insertions, 13 deletions
diff --git a/community/systemd/PKGBUILD b/community/systemd/PKGBUILD index ff51c553d..af8b9b4a8 100644 --- a/community/systemd/PKGBUILD +++ b/community/systemd/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 44387 2011-04-06 23:47:15Z dreisner $ +# $Id: PKGBUILD 45374 2011-04-21 02:36:08Z dreisner $ # Maintainer: Dave Reisner <d@falconindy.com> pkgname=systemd -pkgver=24 +pkgver=25 pkgrel=1 pkgdesc="Session and Startup manager" arch=('i686' 'x86_64') @@ -25,14 +25,14 @@ backup=(etc/systemd/system.conf install=systemd.install source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.bz2" "os-release") -md5sums=('4a6b7d99f35bdae21d7f9b698792b8d3' +md5sums=('11c64b4af8ba863d650b6a7339610fc2' 'f9922299150b4adda7b89e10bca33033') build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr \ - --with-rootdir=/ \ + --with-rootdir= \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ diff --git a/community/systemd/systemd.install b/community/systemd/systemd.install index 259d09b9e..0c75c4b27 100644 --- a/community/systemd/systemd.install +++ b/community/systemd/systemd.install @@ -1,14 +1,7 @@ -#!/bin/sh +#!/bin/bash checkgroups() { getent group lock >/dev/null || groupadd -g 54 lock - - utmpent=$(getent group utmp) - if [ -z $utmpent ]; then - getent group utmp >/dev/null || groupadd -g 32 utmp - elif [ $(echo $utmpent | cut -d: -f3) = '22' ]; then - groupmod -g 32 utmp - fi } post_install() { @@ -44,7 +37,6 @@ pre_remove() { post_remove() { getent group lock >/dev/null && groupdel lock - getent group utmp >/dev/null && groupdel utmp } # vim:set ts=2 sw=2 et: |