ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/apache.spec
(Generate patch)

Comparing COMP/CMSDIST/apache.spec (file contents):
Revision 1.7 by steen, Tue May 16 21:50:35 2006 UTC vs.
Revision 1.8 by steen, Tue May 16 22:39:23 2006 UTC

# Line 20 | Line 20 | make %makeprocesses
20   %initenv
21   mkdir -p %{i}
22   true || exit 0
23
24
23   make install
24  
25 + echo 'Include '"%i/conf.d/"'*.conf' >> \
26 +  %i/conf/httpd.conf
27  
28 mkdir -p %i/conf.d
29
30 #--------------------------------------------------------------------
31 mkdir -p %i/etc/profile.d
32 cat << DEPS_SETUP > %i/etc/profile.d/dependencies-setup.sh
33 #!/bin/sh
34
35 temp_line=\$(grep 'Include[ \t]*[^ ]*/conf.d/\*.conf' \
36           \$APACHE_ROOT/conf/httpd.conf)
37
38 if [ -z "\$temp_line" ]
39 then
40  echo "Inserting Include statement"
41  echo 'Include '"\$APACHE_ROOT/conf.d/"'*.conf' >> \
42  \$APACHE_ROOT/conf/httpd.conf
43 fi
44
45 DEPS_SETUP
28  
29   %post
30   %{relocateConfig}conf/highperformance.conf

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines