diff options
author | Oliver Tappe | 2006-10-14 14:51:06 +0200 |
---|---|---|
committer | Oliver Tappe | 2006-10-14 14:51:06 +0200 |
commit | 4026013d3ae15109bbab51c69c22dfd05848445b (patch) | |
tree | 53a41df68e7e10aca0c50cacd994e7a2f091fa8b /config-db | |
parent | * adjusted POD-texts to our current standards. (diff) | |
download | core-4026013d3ae15109bbab51c69c22dfd05848445b.tar.gz core-4026013d3ae15109bbab51c69c22dfd05848445b.tar.xz core-4026013d3ae15109bbab51c69c22dfd05848445b.zip |
* 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
Diffstat (limited to 'config-db')
-rwxr-xr-x | config-db/slxsetup-test-data-simple.pl | 8 |
1 files changed, 8 insertions, 0 deletions
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 |