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

cal at macports.org cal at macports.org
Sat Aug 4 12:25:09 PDT 2012


Revision: 96213
          https://trac.macports.org/changeset/96213
Author:   cal at macports.org
Date:     2012-08-04 12:25:06 -0700 (Sat, 04 Aug 2012)
Log Message:
-----------
Suggest running selfupdate/sync when no indexes are present

See http://lists.macosforge.org/pipermail/macports-users/2012-August/030064.html

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-04 14:32:22 UTC (rev 96212)
+++ trunk/base/src/macports1.0/macports.tcl	2012-08-04 19:25:06 UTC (rev 96213)
@@ -2578,7 +2578,7 @@
         }
     }
     if {!$found} {
-        return -code error "No index(es) found! Have you synced your source indexes?"
+        return -code error "No index(es) found! Have you synced your source indexes? Try running `port selfupdate` or `port sync`."
     }
 
     return $matches
@@ -2735,7 +2735,7 @@
         }
     }
     if {!$found} {
-        return -code error "No index(es) found! Have you synced your source indexes?"
+        return -code error "No index(es) found! Have you synced your source indexes? Try running `port selfupdate` or `port sync`."
     }
 
     return $matches
@@ -2783,7 +2783,7 @@
         incr sourceno 1
     }
     if {!$sourceno} {
-        ui_warn "No index(es) found! Have you synced your source indexes?"
+        ui_warn "No index(es) found! Have you synced your source indexes? Try running `port selfupdate` or `port sync`."
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120804/b0ce0d0c/attachment.html>


More information about the macports-changes mailing list