summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 28b40f2)
raw | patch | inline | side by side (parent: 28b40f2)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Sep 2008 10:20:46 +0000 (10:20 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Sep 2008 10:20:46 +0000 (10:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12471 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 9145327288c83c1d38833a949d73e406f068db40..7b2fceacb668d3072a26e9a7868cb8228504af60 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
close (CONFIG);
- find(\&cleanup_and_extract, keys( %repo_dirs ));
- &main::strip_packages_list_statements();
- $packages_list_db->exec_statementlist(\@packages_list_statements);
+ if(keys(%repo_dirs)) {
+ find(\&cleanup_and_extract, keys( %repo_dirs ));
+ &main::strip_packages_list_statements();
+ $packages_list_db->exec_statementlist(\@packages_list_statements);
+ }
unlink($packages_list_under_construction);
daemon_log("$session_id INFO: create_packages_list_db: finished", 5);
return;