[52342] trunk/base/src/port1.0/portlivecheck.tcl
nox at macports.org
nox at macports.org
Sun Jun 14 06:53:21 PDT 2009
Revision: 52342
http://trac.macports.org/changeset/52342
Author: nox at macports.org
Date: 2009-06-14 06:53:16 -0700 (Sun, 14 Jun 2009)
Log Message:
-----------
base: Revert r52341 as we need to postpone setting livecheck.distname in each livecheck resource.
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-06-14 11:54:14 UTC (rev 52341)
+++ trunk/base/src/port1.0/portlivecheck.tcl 2009-06-14 13:53:16 UTC (rev 52342)
@@ -54,8 +54,8 @@
default livecheck.type default
default livecheck.md5 ""
default livecheck.regex ""
-default livecheck.name default
-default livecheck.distname default
+default livecheck.name {$name}
+default livecheck.distname {${livecheck.name}}
default livecheck.version {$version}
# Deprecation
@@ -122,14 +122,6 @@
set livecheck.type "fallback"
}
}
- # If livecheck.name is still "default", set it to $name.
- if {${livecheck.name} eq "default"} {
- set livecheck.name $name
- }
- # If livecheck.distname is still "default", set it to $name.
- if {${livecheck.distname} eq "default"} {
- set livecheck.distname $name
- }
if {[lsearch -exact [split $available_types "|"] ${livecheck.type}] != -1} {
# Load the defaults from _resources/port1.0/livecheck/${livecheck.type}.tcl.
set defaults_file "$types_dir/${livecheck.type}.tcl"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090614/6e326dd5/attachment.html>
More information about the macports-changes
mailing list