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.37,1.2.2.38


From: Mike Mylonas
Subject: [Koha-cvs] CVS: koha installer.pl,1.2.2.37,1.2.2.38
Date: Tue, 25 Jun 2002 22:01:18 -0700

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)\"");




reply via email to

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