koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha installer.pl,1.2.2.54,1.2.2.55


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha installer.pl,1.2.2.54,1.2.2.55
Date: Tue, 09 Jul 2002 12:45:06 -0700

Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv28921

Modified Files:
      Tag: rel-1-2
        installer.pl 
Log Message:
Moved koha.conf write to after Z39.50 daemon was configured (to get kohalogdir
variable)


Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.2.2.54
retrieving revision 1.2.2.55
diff -C2 -r1.2.2.54 -r1.2.2.55
*** installer.pl        9 Jul 2002 19:39:23 -0000       1.2.2.54
--- installer.pl        9 Jul 2002 19:45:02 -0000       1.2.2.55
***************
*** 317,338 ****
  
  
- #Create the configuration file
- open(SITES,">$etcdir/koha.conf") or warn "Couldn't create file
- at $etcdir.  Must have write capability.\n";
- print SITES <<EOP
- database=$dbname
- hostname=$hostname
- user=$user
- pass=$pass
- includes=$kohadir/htdocs/includes
- intranetdir=$kohadir
- opacdir=$opacdir
- kohalogdir=$kohalogdir
- kohaversion=$kohaversion
- httpduser=$httpduser
- EOP
- ;
- close(SITES);
- 
  #
  # Set ownership of the koha.conf file for security
--- 317,320 ----
***************
*** 700,703 ****
--- 682,706 ----
  system("chown -R root.$httpduser $opacdir");
  system("chown -R root.$httpduser $kohadir");
+ 
+ 
+ 
+ #Create the configuration file
+ open(SITES,">$etcdir/koha.conf") or warn "Couldn't create file
+ at $etcdir.  Must have write capability.\n";
+ print SITES <<EOP
+ database=$dbname
+ hostname=$hostname
+ user=$user
+ pass=$pass
+ includes=$kohadir/htdocs/includes
+ intranetdir=$kohadir
+ opacdir=$opacdir
+ kohalogdir=$kohalogdir
+ kohaversion=$kohaversion
+ httpduser=$httpduser
+ EOP
+ ;
+ close(SITES);
+ 
  
  print qq|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]