summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
authorOliver Tappe2006-10-14 14:51:06 +0200
committerOliver Tappe2006-10-14 14:51:06 +0200
commit4026013d3ae15109bbab51c69c22dfd05848445b (patch)
tree53a41df68e7e10aca0c50cacd994e7a2f091fa8b /config-db
parent* adjusted POD-texts to our current standards. (diff)
downloadcore-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-xconfig-db/slxsetup-test-data-simple.pl8
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