From 4026013d3ae15109bbab51c69c22dfd05848445b Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 14 Oct 2006 12:51:06 +0000 Subject: * added message giving the path of the created files and the possibility of editing them with OpenOffice in case the db-type is 'CSV' (as is currently the default). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@462 95ad53e4-c205-0410-b2fa-d234c58c8868 --- config-db/slxsetup-test-data-simple.pl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config-db/slxsetup-test-data-simple.pl b/config-db/slxsetup-test-data-simple.pl index 19679498..71afa0a3 100755 --- a/config-db/slxsetup-test-data-simple.pl +++ b/config-db/slxsetup-test-data-simple.pl @@ -141,6 +141,14 @@ addSystemIDsToClient($openslxDB, $client2Id, [$system2Id]); disconnectConfigDB($openslxDB); +if ($openslxConfig{'db-type'} =~ m[^\s*csv\s*$]i) { + my $csvFolder = "$openslxConfig{'db-basepath'}/$openslxConfig{'db-name'}-csv"; + print "The test-database with the CSV-files has been created in\n"; + print "\t$csvFolder\n"; + print "You can change the dataset with a simple editor or using\n"; + print "a spreadsheet software like 'OpenOffice Calc' or 'Gnumeric'.\n"; +} + __END__ =head1 NAME -- cgit v1.2.3-55-g7522