[LON-CAPA-cvs] cvs: doc /loncapafiles updatequery.piml

albertel lon-capa-cvs-allow@mail.lon-capa.org
Tue, 22 May 2007 22:49:28 -0000


albertel		Tue May 22 18:49:28 2007 EDT

  Modified files:              
    /doc/loncapafiles	updatequery.piml 
  Log:
  - need to insert the proper number of colons if it a brand new lisitng
  
  
Index: doc/loncapafiles/updatequery.piml
diff -u doc/loncapafiles/updatequery.piml:1.56 doc/loncapafiles/updatequery.piml:1.57
--- doc/loncapafiles/updatequery.piml:1.56	Sun Apr 22 12:33:28 2007
+++ doc/loncapafiles/updatequery.piml	Tue May 22 18:49:27 2007
@@ -1,6 +1,6 @@
 <!-- updatequery.piml -->
 
-<!-- $Id: updatequery.piml,v 1.56 2007/04/22 16:33:28 raeburn Exp $ -->
+<!-- $Id: updatequery.piml,v 1.57 2007/05/22 22:49:27 albertel Exp $ -->
 
 <!--
 
@@ -910,6 +910,9 @@
   $line2insert=&lt;&lt;END;
 $perlvar{'lonHostID'}:$perlvar{'lonDefDomain'}:$perlvar{'lonRole'}:$hostname
 END
+  if (!$domainTabExtras) {
+	$domainTabExtras=':::::';
+  }
   $domaininsert="$perlvar{'lonDefDomain'}:$domainDescription:$domainTabExtras:$primaryLibServer\n";
   if ($lonCluster eq 'standalone') {
     open(OUT,'&gt;../'.$lonCluster.'_hosts.tab') or