[43140] trunk/base/src/upgrade_sources_conf_default.tcl
blb at macports.org
blb at macports.org
Fri Dec 5 14:36:41 PST 2008
Revision: 43140
http://trac.macports.org/changeset/43140
Author: blb at macports.org
Date: 2008-12-05 14:36:40 -0800 (Fri, 05 Dec 2008)
Log Message:
-----------
src/upgrade_sources_conf_default.tcl - display warning when unable to add default tag
Modified Paths:
--------------
trunk/base/src/upgrade_sources_conf_default.tcl
Modified: trunk/base/src/upgrade_sources_conf_default.tcl
===================================================================
--- trunk/base/src/upgrade_sources_conf_default.tcl 2008-12-05 22:24:04 UTC (rev 43139)
+++ trunk/base/src/upgrade_sources_conf_default.tcl 2008-12-05 22:36:40 UTC (rev 43140)
@@ -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/d8ab6992/attachment.html>
More information about the macports-changes
mailing list