User: sits    
  Date: 08/06/17 05:00:54

  Modified:    bin      install.pl
  Log:
  Include warning if highlighter is not configured in the codestriker.conf file 
with an appropriate message.
  
  
  
  Index: install.pl
  ===================================================================
  RCS file: /cvsroot/codestriker/codestriker/bin/install.pl,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- install.pl        22 Feb 2008 00:32:05 -0000      1.17
  +++ install.pl        17 Jun 2008 12:00:54 -0000      1.18
  @@ -341,6 +341,13 @@
       }
   }
   
  +# Issue a warning to the user if the highlight binary is not available.
  +if (! (defined $Codestriker::highlighter) || $Codestriker::highlighter eq 
'') {
  +     print STDERR "\nWARNING: \$highlighter variable is not set in 
codestriker.conf.\n";
  +     print STDERR "No syntax highlighting will be performed.\n";
  +     print STDERR "Download from http://www.andre-simon.de/ and\n";
  +     print STDERR " set \$highlighter to location of executable.\n\n";
  +}
   
   # Obtain a database connection.
   my $dbh = $database->get_connection();
  
  
  

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits

Reply via email to