[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha installer.pl,1.2.2.38,1.2.2.39
From: |
Steve Tonnesen |
Subject: |
[Koha-cvs] CVS: koha installer.pl,1.2.2.38,1.2.2.39 |
Date: |
Wed, 26 Jun 2002 06:29:15 -0700 |
Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv4489
Modified Files:
Tag: rel-1-2
installer.pl
Log Message:
Installer creates a backup of httpd.conf
Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.2.2.38
retrieving revision 1.2.2.39
diff -C2 -r1.2.2.38 -r1.2.2.39
*** installer.pl 26 Jun 2002 05:01:16 -0000 1.2.2.38
--- installer.pl 26 Jun 2002 13:29:13 -0000 1.2.2.39
***************
*** 396,401 ****
--- 396,403 ----
}
+ my $apachebackupmade=0;
if ($envmodule || $includesmodule) {
system("mv -f $realhttpdconf $realhttpdconf\.prekoha");
+ $apachebackupmade=1;
open HC, ">$realhttpdconf";
print HC $httpdconf;
***************
*** 417,420 ****
--- 419,425 ----
print "\n";
} else {
+ unless ($apachebackupmade) {
+ system("cp -f $realhttpdconf $realhttpdconf\.prekoha");
+ }
my $includesdirectives='';
if ($includesmodule) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha installer.pl,1.2.2.38,1.2.2.39,
Steve Tonnesen <=