[Koha-cvs] CVS: koha installer.pl,1.2.2.37,1.2.2.38

Mike Mylonas dragon28 at users.sourceforge.net
Wed Jun 26 07:01:18 CEST 2002


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

Modified Files:
      Tag: rel-1-2
	installer.pl 
Log Message:
sample data not installed as first mysql directive did not include the path to the mysql binary

Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.2.2.37
retrieving revision 1.2.2.38
diff -C2 -r1.2.2.37 -r1.2.2.38
*** installer.pl	25 Jun 2002 21:28:53 -0000	1.2.2.37
--- installer.pl	26 Jun 2002 05:01:16 -0000	1.2.2.38
***************
*** 625,629 ****
      if ($input =~/^y/i) {
  	system("gunzip sampledata-1.2.gz");
! 	system("cat sampledata-1.2 | mysql -u$mysqluser -p$mysqlpass $dbname");
  	system("gzip -9 sampledata-1.2");
  	system("$mysqldir/bin/mysql -u$mysqluser -p$mysqlpass $dbname -e \"insert into branches (branchcode,branchname,issuing) values ('Main', 'Main Library', 1)\"");
--- 625,629 ----
      if ($input =~/^y/i) {
  	system("gunzip sampledata-1.2.gz");
! 	system("cat sampledata-1.2 | $mysqldir/bin/mysql -u$mysqluser -p$mysqlpass $dbname");
  	system("gzip -9 sampledata-1.2");
  	system("$mysqldir/bin/mysql -u$mysqluser -p$mysqlpass $dbname -e \"insert into branches (branchcode,branchname,issuing) values ('Main', 'Main Library', 1)\"");





More information about the Koha-cvs mailing list