From 656d53fedde2ebb88ca2626ee5fb14bedc12c1b8 Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Mon, 28 May 2007 17:48:23 +0000 Subject: Fix bashisms thanks Mike Arthur in bug 179786 (Portage version: 2.1.2.7) --- sys-power/powersave/ChangeLog | 5 ++++- sys-power/powersave/files/powersaved.rc | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'sys-power') 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 files/powersaved.rc: + Fix bashisms thanks Mike Arthur in bug 179786 17 Apr 2007; Stefan Schweizer +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 $? } -- cgit v1.2.3-65-gdbad