Explorar o código

Fix rc-script. Backslashes were missing. PR: 9 Submitted by: Christoph Schug <chris@schug.net>

Ralf S. Engelschall %!s(int64=24) %!d(string=hai) anos
pai
achega
4fd97457ec
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      apache/apache.spec
  2. 2 2
      apache/rc.apache

+ 1 - 1
apache/apache.spec

@@ -69,7 +69,7 @@ Distribution: OpenPKG [EXP]
 Group:        Web
 License:      BSD-style
 Version:      %{V_apache}
-Release:      22
+Release:      23
 
 #   list of sources
 Source0:      http://httpd.apache.org/dist/httpd/apache_%{V_apache}.tar.gz

+ 2 - 2
apache/rc.apache

@@ -35,7 +35,7 @@
     opServiceEnabled apache || exit 0
     if [ ".$apache_log_files" != . ]; then
         shtool rotate -f \
-            -n${apache_log_rotsteps} -s${apache_log_rotminsize} -d
+            -n${apache_log_rotsteps} -s${apache_log_rotminsize} -d \
             -z${apache_log_rotcomplevel} -o@l_fsusr@ -o@l_fsgrp@ -m644 \
             -P "$apache_log_rotprolog" \
             -E "@l_prefix@/sbin/apachectl restart; $apache_log_rotepilog" \
@@ -43,7 +43,7 @@
     fi
     if [ ".$apache_err_files" != . ]; then
         shtool rotate -f \
-            -n${apache_err_rotsteps} -s${apache_err_rotminsize} -d
+            -n${apache_err_rotsteps} -s${apache_err_rotminsize} -d \
             -z${apache_err_rotcomplevel} -o@l_fsusr@ -o@l_fsgrp@ -m644 \
             -P "$apache_err_rotprolog" \
             -E "@l_prefix@/sbin/apachectl restart; $apache_err_rotepilog" \