[127214] trunk/dports/_resources/port1.0/livecheck/master-sites.tcl
khindenburg at macports.org
khindenburg at macports.org
Thu Oct 23 06:40:00 PDT 2014
Revision: 127214
https://trac.macports.org/changeset/127214
Author: khindenburg at macports.org
Date: 2014-10-23 06:40:00 -0700 (Thu, 23 Oct 2014)
Log Message:
-----------
livecheck: use instead of calculting it ourselfs
Modified Paths:
--------------
trunk/dports/_resources/port1.0/livecheck/master-sites.tcl
Modified: trunk/dports/_resources/port1.0/livecheck/master-sites.tcl
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/master-sites.tcl 2014-10-23 08:33:25 UTC (rev 127213)
+++ trunk/dports/_resources/port1.0/livecheck/master-sites.tcl 2014-10-23 13:40:00 UTC (rev 127214)
@@ -11,7 +11,7 @@
set livecheck.distname ${livecheck.name}
}
if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
- if {![info exists master_sites] || [llength ${master_sites}] == 0} {
+ if {!$has_master_sites || [llength ${master_sites}] == 0} {
set livecheck.type "none"
} else {
set livecheck.url [lindex ${master_sites} 0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141023/098bdcde/attachment-0001.html>
More information about the macports-changes
mailing list