[51477] trunk/base/src/port1.0/portlivecheck.tcl

blb at macports.org blb at macports.org
Mon May 25 20:35:17 PDT 2009


Revision: 51477
          http://trac.macports.org/changeset/51477
Author:   blb at macports.org
Date:     2009-05-25 20:35:16 -0700 (Mon, 25 May 2009)
Log Message:
-----------
port1.0/portlivecheck.tcl - fix livecheck for site-specific checks like 'livecheck.check freshmeat'

Modified Paths:
--------------
    trunk/base/src/port1.0/portlivecheck.tcl

Modified: trunk/base/src/port1.0/portlivecheck.tcl
===================================================================
--- trunk/base/src/port1.0/portlivecheck.tcl	2009-05-26 02:53:38 UTC (rev 51476)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2009-05-26 03:35:16 UTC (rev 51477)
@@ -121,7 +121,8 @@
         if {${livecheck.name} eq "default"} {
             set livecheck.name $name
         }
-
+    }
+    if {[lsearch -exact [split $available_types "|"] ${livecheck.check}] != -1} {
         # Load the defaults from _resources/port1.0/livecheck/${livecheck.check}.tcl.
         set defaults_file "$types_dir/${livecheck.check}.tcl"
         ui_debug "Loading the defaults from '$defaults_file'"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090525/7ee92a62/attachment.html>


More information about the macports-changes mailing list