summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-09-25 12:42:41 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-09-25 12:42:41 +0000
commit6dae10285ac1abdcf2018ec1ea0634408bb86de8 (patch)
tree7c80a74a8a4a394bb9957c4eb3fe4be9c6e3f6a4 /www-servers
parentkeyword ~x86-fbsd (diff)
downloadgentoo-2-6dae10285ac1abdcf2018ec1ea0634408bb86de8.tar.gz
gentoo-2-6dae10285ac1abdcf2018ec1ea0634408bb86de8.tar.bz2
gentoo-2-6dae10285ac1abdcf2018ec1ea0634408bb86de8.zip
remove bashisms from init script
(Portage version: 2.2_rc9/cvs/Linux 2.6.26.5 x86_64)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/ocsigen/ChangeLog5
-rw-r--r--www-servers/ocsigen/files/ocsigen.initd6
2 files changed, 7 insertions, 4 deletions
diff --git a/www-servers/ocsigen/ChangeLog b/www-servers/ocsigen/ChangeLog
index 3caf813680f4..0f1bfab2522d 100644
--- a/www-servers/ocsigen/ChangeLog
+++ b/www-servers/ocsigen/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-servers/ocsigen
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/ocsigen/ChangeLog,v 1.22 2008/09/08 11:38:44 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/ocsigen/ChangeLog,v 1.23 2008/09/25 12:42:40 aballier Exp $
+
+ 25 Sep 2008; Alexis Ballier <aballier@gentoo.org> files/ocsigen.initd:
+ remove bashisms from init script
08 Sep 2008; Alexis Ballier <aballier@gentoo.org> -ocsigen-1.0.0.ebuild:
remove old
diff --git a/www-servers/ocsigen/files/ocsigen.initd b/www-servers/ocsigen/files/ocsigen.initd
index 3fe06724e52b..38c7f67e468e 100644
--- a/www-servers/ocsigen/files/ocsigen.initd
+++ b/www-servers/ocsigen/files/ocsigen.initd
@@ -11,11 +11,11 @@ depend() {
checkconfig() {
- if [[ ! -f $DAEMON ]] ; then
+ if [ ! -f "$DAEMON" ] ; then
ewarn "Unable to find $DAEMON"
return 1
fi
- if [[ ! -f $CONF ]] ; then
+ if [ ! -f "$CONF" ] ; then
ewarn $CONF " does not exist."
return 1
fi
@@ -39,7 +39,7 @@ stop() {
}
reload() {
- if [[ ! -f $PIDFILE ]] ; then
+ if [ ! -f "$PIDFILE" ] ; then
ewarn "$PIDFILE not found!!"
ewarn "Ocsigen is not running. Not reloading."
return 1