update-index
changeset 34 f5db9f4a3e76
parent 33 d3269961e944
--- a/update-index	Fri Aug 13 17:00:37 2010 +0200
+++ b/update-index	Thu Sep 30 11:35:51 2010 +0200
@@ -53,8 +53,13 @@
 
 for my $dir ( glob "$master_dir/*" ) {
     $zone = basename($dir);
+    my $info_end = "::sec-off";
 
-    $iz_line = "\t\tIN TXT\t\t\"ZONE::$zone\"\n";
+    if (-e "$dir/.keycounter") {
+        $info_end = "::sec-on";
+    }
+
+    $iz_line = "\t\tIN TXT\t\t\"ZONE::$zone$info_end\"\n";
 
     push @iz_content_new, $iz_line;
 }