[Koha-cvs] CVS: koha installer.pl,1.2.2.34,1.2.2.35

Steve Tonnesen tonnesen at users.sourceforge.net
Tue Jun 25 23:19:00 CEST 2002


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

Modified Files:
      Tag: rel-1-2
	installer.pl 
Log Message:
Logic bug fixed.


Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.2.2.34
retrieving revision 1.2.2.35
diff -C2 -r1.2.2.34 -r1.2.2.35
*** installer.pl	25 Jun 2002 21:03:39 -0000	1.2.2.34
--- installer.pl	25 Jun 2002 21:18:58 -0000	1.2.2.35
***************
*** 615,618 ****
--- 615,619 ----
      print qq|
  
+ =============================================================================
  If you are installing Koha for evaluation purposes,  I have a batch of sample
  data that you can install now.
***************
*** 620,628 ****
  If you are installing Koha with the intention of populating it with your own
  data, you probably don't want this sample data installed.
! 
  |;
!     print "\n\nWould you like to install the sample data? Y/[N]: ";
      chomp($input = <STDIN>);
!     unless ($input =~/^y/i) {
  	system("gunzip sampledata-1.2.gz");
  	system("cat sampledata-1.2 | mysql -u$mysqluser -p$mysqlpass $dbname");
--- 621,629 ----
  If you are installing Koha with the intention of populating it with your own
  data, you probably don't want this sample data installed.
! =============================================================================
  |;
!     print "\nWould you like to install the sample data? Y/[N]: ";
      chomp($input = <STDIN>);
!     if ($input =~/^y/i) {
  	system("gunzip sampledata-1.2.gz");
  	system("cat sampledata-1.2 | mysql -u$mysqluser -p$mysqlpass $dbname");





More information about the Koha-cvs mailing list