public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] apache r226 - trunk/dist/2.2/init
@ 2009-09-20  8:32 Benedikt Boehm (hollow)
  0 siblings, 0 replies; only message in thread
From: Benedikt Boehm (hollow) @ 2009-09-20  8:32 UTC (permalink / raw
  To: gentoo-commits

Author: hollow
Date: 2009-09-20 08:32:05 +0000 (Sun, 20 Sep 2009)
New Revision: 226

Modified:
   trunk/dist/2.2/init/apache2.initd
Log:
fix #285449

Modified: trunk/dist/2.2/init/apache2.initd
===================================================================
--- trunk/dist/2.2/init/apache2.initd	2009-09-20 08:32:03 UTC (rev 225)
+++ trunk/dist/2.2/init/apache2.initd	2009-09-20 08:32:05 UTC (rev 226)
@@ -137,7 +137,7 @@
 
 	if ! service_started "${SVCNAME}"; then
 		eerror "${SVCNAME} not started"
-	elif ! type -p ${LYNX} 2>&1 >/dev/null; then
+	elif ! type -p $(set -- ${LYNX}; echo $1) 2>&1 >/dev/null; then
 		eerror "lynx not found! you need to emerge www-client/lynx"
 	else
 		${LYNX} ${STATUSURL}
@@ -157,7 +157,7 @@
 
 	if ! service_started "${SVCNAME}"; then
 		eerror "${SVCNAME} not started"
-	elif ! type -p ${LYNX} 2>&1 >/dev/null; then
+	elif ! type -p $(set -- ${LYNX}; echo $1) 2>&1 >/dev/null; then
 		eerror "lynx not found! you need to emerge www-client/lynx"
 	else
 		echo "${APACHE2} started with '${APACHE2_OPTS}'"




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-20  8:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-20  8:32 [gentoo-commits] apache r226 - trunk/dist/2.2/init Benedikt Boehm (hollow)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox