[Koha-cvs] CVS: koha installer.pl,1.2.2.50,1.2.2.51

Steve Tonnesen tonnesen at users.sourceforge.net
Thu Jul 4 19:42:25 CEST 2002


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

Modified Files:
      Tag: rel-1-2
	installer.pl 
Log Message:
Fatal bug in installer.pl  was trying to set httpduser variable in koha.conf
before the variable had been initialized.


Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.2.2.50
retrieving revision 1.2.2.51
diff -C2 -r1.2.2.50 -r1.2.2.51
*** installer.pl	3 Jul 2002 17:07:09 -0000	1.2.2.50
--- installer.pl	4 Jul 2002 17:42:23 -0000	1.2.2.51
***************
*** 268,287 ****
  
  
- #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
- kohaversion=$kohaversion
- httpduser=$httpduser
- EOP
- ;
- close(SITES);
  
  print "Successfully created the Koha configuration file.\n";
--- 268,271 ----
***************
*** 327,330 ****
--- 311,332 ----
      }
  }
+ 
+ 
+ #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
+ kohaversion=$kohaversion
+ httpduser=$httpduser
+ EOP
+ ;
+ close(SITES);
  
  #





More information about the Koha-cvs mailing list