OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 28-Feb-2005 14:27:29
Branch: HEAD Handle: 2005022813272800
Modified files:
openpkg-src/apache apache.spec rc.apache
Log:
return is only allowed within a function
Summary:
Revision Changes Path
1.287 +1 -1 openpkg-src/apache/apache.spec
1.19 +1 -1 openpkg-src/apache/rc.apache
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.spec
============================================================================
$ cvs diff -u -r1.286 -r1.287 apache.spec
--- openpkg-src/apache/apache.spec 27 Feb 2005 21:54:44 -0000 1.286
+++ openpkg-src/apache/apache.spec 28 Feb 2005 13:27:28 -0000 1.287
@@ -66,7 +66,7 @@
Group: Web
License: ASF
Version: %{V_apache}
-Release: 20050227
+Release: 20050228
# package options (suexec related)
%option with_suexec yes
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/apache/rc.apache
============================================================================
$ cvs diff -u -r1.18 -r1.19 rc.apache
--- openpkg-src/apache/rc.apache 13 Aug 2004 19:20:39 -0000 1.18
+++ openpkg-src/apache/rc.apache 28 Feb 2005 13:27:28 -0000 1.19
@@ -40,7 +40,7 @@
( [ -e @l_prefix@/etc/apache/apache.sh ] && \
. @l_prefix@/etc/apache/apache.sh
@l_prefix@/sbin/apache
- ) || return $?
+ ) || exit $?
%stop -u @l_susr@
rcService apache enable yes || exit 0
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]