[arch-commits] Commit in pm-utils/trunk (PKGBUILD daemons.patch)
Thayer Williams
thayer at archlinux.org
Wed Feb 18 05:30:30 UTC 2009
Date: Wednesday, February 18, 2009 @ 00:30:29
Author: thayer
Revision: 27275
upgpkg: pm-utils 1.2.4-2
fixed daemon patch
Modified:
pm-utils/trunk/PKGBUILD
pm-utils/trunk/daemons.patch
---------------+
PKGBUILD | 5 ++---
daemons.patch | 13 +++++++++++--
2 files changed, 13 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-02-18 05:00:18 UTC (rev 27274)
+++ PKGBUILD 2009-02-18 05:30:29 UTC (rev 27275)
@@ -3,7 +3,7 @@
pkgname=pm-utils
pkgver=1.2.4
-pkgrel=1
+pkgrel=2
pkgdesc="Utilities and scripts for suspend and hibernate power management"
arch=('i686' 'x86_64')
url="http://pm-utils.freedesktop.org"
@@ -13,10 +13,9 @@
source=(http://pm-utils.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
11netcfg
daemons.patch)
-
md5sums=('965bdce8fccaaa5ae2b304e52b362c6e'
'9839687c8787d99fd4ff36aa3238c27b'
- 'cb4d9ca6f46b1822c6ca823b158f34e5')
+ '8b26b51f0c1f3330bb4f9f0ff57f4717')
build() {
cd $srcdir/$pkgname-$pkgver
Modified: daemons.patch
===================================================================
--- daemons.patch 2009-02-18 05:00:18 UTC (rev 27274)
+++ daemons.patch 2009-02-18 05:30:29 UTC (rev 27275)
@@ -1,5 +1,14 @@
---- ./pm/functions.in.orig 2009-02-15 11:23:25.747225766 -0800
-+++ ./pm/functions.in 2009-02-15 11:24:03.410775317 -0800
+--- pm/functions.in.bak 2009-02-17 21:25:46.940839964 -0800
++++ pm/functions.in 2009-02-17 21:26:55.506262018 -0800
+@@ -129,7 +129,7 @@
+ if ! command_exists service; then
+ service()
+ {
+- for svc in "/etc/init.d/$1" "/etc/rc.d/rc.$1"; do #lsb, then slack
++ for svc in "/etc/init.d/$1" "/etc/rc.d/$1"; do #lsb, then slack
+ [ -x "$svc" ] && { shift; "$svc" "$@"; return $?; }
+ done
+ # this only happens if we did not find the service
@@ -141,7 +141,7 @@
stopservice()
More information about the arch-commits
mailing list