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

khindenburg at macports.org khindenburg at macports.org
Thu Oct 23 06:53:44 PDT 2014


Revision: 127215
          https://trac.macports.org/changeset/127215
Author:   khindenburg at macports.org
Date:     2014-10-23 06:53:43 -0700 (Thu, 23 Oct 2014)
Log Message:
-----------
livecheck: reset livecheck.url if no homepage is set #45572#comment:4

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

Modified: trunk/base/src/port1.0/portlivecheck.tcl
===================================================================
--- trunk/base/src/port1.0/portlivecheck.tcl	2014-10-23 13:40:00 UTC (rev 127214)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2014-10-23 13:53:43 UTC (rev 127215)
@@ -69,6 +69,9 @@
     set updated_version "unknown"
     set has_master_sites [info exists master_sites]
     set has_homepage [info exists homepage]
+    if {!$has_homepage} {
+        set livecheck.url {}
+    }
 
     set tempfile [mktemp "/tmp/mports.livecheck.XXXXXXXX"]
     set port_moddate [file mtime ${portpath}/Portfile]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141023/a195a8ed/attachment.html>


More information about the macports-changes mailing list