[96231] trunk/base/src/macports1.0/macports.tcl

raimue at macports.org raimue at macports.org
Sun Aug 5 05:50:22 PDT 2012


Revision: 96231
          https://trac.macports.org/changeset/96231
Author:   raimue at macports.org
Date:     2012-08-05 05:50:19 -0700 (Sun, 05 Aug 2012)
Log Message:
-----------
Followup after r96213, slight message rewording and suggest only a single
command to avoid confusion. Switching to quote style used in other places.

Revision Links:
--------------
    https://trac.macports.org/changeset/96213

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2012-08-05 11:16:25 UTC (rev 96230)
+++ trunk/base/src/macports1.0/macports.tcl	2012-08-05 12:50:19 UTC (rev 96231)
@@ -1143,7 +1143,7 @@
         if {[macports::getprotocol $default_source_url] == "file" || [macports::getprotocol $default_source_url] == "rsync"} {
             set default_portindex [macports::getindex $default_source_url]
             if {[file exists $default_portindex] && [expr [clock seconds] - [file mtime $default_portindex]] > 1209600} {
-                ui_warn "port definitions are more than two weeks old, consider using selfupdate"
+                ui_warn "port definitions are more than two weeks old, consider updating them by running `port selfupdate`."
             }
         }
     }
@@ -2578,7 +2578,7 @@
         }
     }
     if {!$found} {
-        return -code error "No index(es) found! Have you synced your source indexes? Try running `port selfupdate` or `port sync`."
+        return -code error "No index(es) found! Have you synced your port definitions? Try running 'port selfupdate'."
     }
 
     return $matches
@@ -2735,7 +2735,7 @@
         }
     }
     if {!$found} {
-        return -code error "No index(es) found! Have you synced your source indexes? Try running `port selfupdate` or `port sync`."
+        return -code error "No index(es) found! Have you synced your port definitions? Try running 'port selfupdate'."
     }
 
     return $matches
@@ -2783,7 +2783,7 @@
         incr sourceno 1
     }
     if {!$sourceno} {
-        ui_warn "No index(es) found! Have you synced your source indexes? Try running `port selfupdate` or `port sync`."
+        ui_warn "No index(es) found! Have you synced your port definitions? Try running 'port selfupdate'."
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120805/2d030dac/attachment.html>


More information about the macports-changes mailing list