summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-05-28 17:48:23 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-05-28 17:48:23 +0000
commit656d53fedde2ebb88ca2626ee5fb14bedc12c1b8 (patch)
tree391502628888996896c688234e842f3a58a7c76d /sys-power
parentold (diff)
downloadgentoo-2-656d53fedde2ebb88ca2626ee5fb14bedc12c1b8.tar.gz
gentoo-2-656d53fedde2ebb88ca2626ee5fb14bedc12c1b8.tar.bz2
gentoo-2-656d53fedde2ebb88ca2626ee5fb14bedc12c1b8.zip
Fix bashisms thanks Mike Arthur <mike@mikearthur.co.uk> in bug 179786
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powersave/ChangeLog5
-rw-r--r--sys-power/powersave/files/powersaved.rc4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys-power/powersave/ChangeLog b/sys-power/powersave/ChangeLog
index 43b785f95097..d5fabd61eee2 100644
--- a/sys-power/powersave/ChangeLog
+++ b/sys-power/powersave/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/powersave
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.18 2007/04/17 22:12:06 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.19 2007/05/28 17:48:23 genstef Exp $
+
+ 28 May 2007; Stefan Schweizer <genstef@gentoo.org> files/powersaved.rc:
+ Fix bashisms thanks Mike Arthur <mike@mikearthur.co.uk> in bug 179786
17 Apr 2007; Stefan Schweizer <genstef@gentoo.org>
+files/powersave-as-needed.patch, powersave-0.15.11.ebuild:
diff --git a/sys-power/powersave/files/powersaved.rc b/sys-power/powersave/files/powersaved.rc
index bc2c1e732cea..01fcd5f61c4f 100644
--- a/sys-power/powersave/files/powersaved.rc
+++ b/sys-power/powersave/files/powersaved.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/files/powersaved.rc,v 1.1 2006/05/07 10:29:45 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/files/powersaved.rc,v 1.2 2007/05/28 17:48:23 genstef Exp $
depend() {
need localmount dbus hald
@@ -12,7 +12,7 @@ start() {
ebegin "Starting powersave daemon"
start-stop-daemon --start --quiet --exec /usr/sbin/powersaved -- \
-d \
- $([[ -S /var/run/acpid.socket ]] && echo "-f /var/run/acpid.socket")
+ $([ -S /var/run/acpid.socket ] && echo "-f /var/run/acpid.socket")
eend $?
}