[43141] branches/release_1_7/base/src/upgrade_sources_conf_default.tcl

blb at macports.org blb at macports.org
Fri Dec 5 14:38:01 PST 2008


Revision: 43141
          http://trac.macports.org/changeset/43141
Author:   blb at macports.org
Date:     2008-12-05 14:38:01 -0800 (Fri, 05 Dec 2008)
Log Message:
-----------
Merge r43140 from trunk: display warning when unable to add default tag

Modified Paths:
--------------
    branches/release_1_7/base/src/upgrade_sources_conf_default.tcl

Modified: branches/release_1_7/base/src/upgrade_sources_conf_default.tcl
===================================================================
--- branches/release_1_7/base/src/upgrade_sources_conf_default.tcl	2008-12-05 22:36:40 UTC (rev 43140)
+++ branches/release_1_7/base/src/upgrade_sources_conf_default.tcl	2008-12-05 22:38:01 UTC (rev 43141)
@@ -75,6 +75,19 @@
    eval file attributes ${sourcesConf} $attributes
 } else {
    file delete ${tempfile}
+   if {!$defaultSeen} {
+      puts "[string repeat - 72]
+Warning, your source config file at:
+
+   $sourcesConf
+
+needs to have a \[default\] tag added to the primary MacPorts repository,
+however I was unable to determine which one is the proper one.  Please
+add it manually by either appending \[default\] to the end of the correct
+line, or if there are already tags, adding it to the list, eg,
+\[nosync,default\].
+[string repeat - 72]"
+   }
 }
 
 exit 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081205/e446b75e/attachment.html>


More information about the macports-changes mailing list