Code

Don't extract templates more than once.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 18:12:53 +0000 (18:12 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 18:12:53 +0000 (18:12 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9879 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index aa3f9c65396857afde8c00c17e04f2c4c3f1bf3d..747435d90df970380907fa233b5209d841e00444 100755 (executable)
@@ -1871,6 +1871,7 @@ sub create_packages_list_db {
     }
 
     close (CONFIG);
+       find(\&cleanup_and_extract, keys( %repo_dirs ) );
 
     daemon_log("INFO: create_packages_list_db: finished", 5); 
     return;
@@ -1899,7 +1900,6 @@ sub parse_package_info {
     get_package( "$baseurl/dists/$dist/$section/binary-$arch/$package", "$outdir/$dist/$section" );
     parse_package( "$outdir/$dist/$section", $dist, $path );
   }
-   find(\&cleanup_and_extract, keys( %repo_dirs ) );
 }
 
 sub get_package {