From 2a7ac7b050435fb96053c281ee20a9e3eac97ede Mon Sep 17 00:00:00 2001 From: tonnesen Date: Tue, 25 Jun 2002 21:18:58 +0000 Subject: [PATCH] Logic bug fixed. --- installer.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/installer.pl b/installer.pl index c5e2eb3be0..23e10deed9 100644 --- a/installer.pl +++ b/installer.pl @@ -614,16 +614,17 @@ if ($result) { print qq| +============================================================================= If you are installing Koha for evaluation purposes, I have a batch of sample data that you can install now. 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]: "; + print "\nWould you like to install the sample data? Y/[N]: "; chomp($input = ); - unless ($input =~/^y/i) { + 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"); -- 2.39.5