version 1.2, 2000/10/26 00:21:27
|
version 1.3, 2000/10/26 00:28:43
|
Line 21 my @generic_conf_files=(
|
Line 21 my @generic_conf_files=(
|
); |
); |
|
|
foreach (@special_conf_files) { |
foreach (@special_conf_files) { |
if (/^/etc/httpd/conf/access.conf$/) { |
if (/^\/etc\/httpd\/conf\/access.conf$/) { |
my $template=`/bin/cat /etc/httpd/conf/access.conf`; |
my $template=`/bin/cat /etc/httpd/conf/access.conf`; |
my $rpmsave=`/bin/cat /etc/httpd/conf/access.conf.rpmsave`; |
my $rpmsave=`/bin/cat /etc/httpd/conf/access.conf.rpmsave`; |
`/bin/mv /etc/httpd/conf/access.conf /etc/httpd/conf/access.conf.template`; |
`/bin/mv /etc/httpd/conf/access.conf /etc/httpd/conf/access.conf.template`; |
Line 38 foreach (@special_conf_files) {
|
Line 38 foreach (@special_conf_files) {
|
} |
} |
|
|
foreach (@generic_conf_files) { |
foreach (@generic_conf_files) { |
`/bin/mv $_ $_.template`; |
if (-e "$_.rpmsave") { |
`/bin/mv $_.rpmsave $_`; |
`/bin/mv $_ $_.template`; |
|
`/bin/mv $_.rpmsave $_`; |
|
} |
} |
} |