[146946] contrib/mp-buildbot/tools/uninstall-old-ports.tcl

mojca at macports.org mojca at macports.org
Mon Mar 21 19:59:21 PDT 2016


Revision: 146946
          https://trac.macports.org/changeset/146946
Author:   mojca at macports.org
Date:     2016-03-21 19:59:21 -0700 (Mon, 21 Mar 2016)
Log Message:
-----------
contrib/mp-buildbot: fix a typo, tabs to spaces

Modified Paths:
--------------
    contrib/mp-buildbot/tools/uninstall-old-ports.tcl

Modified: contrib/mp-buildbot/tools/uninstall-old-ports.tcl
===================================================================
--- contrib/mp-buildbot/tools/uninstall-old-ports.tcl	2016-03-22 00:54:58 UTC (rev 146945)
+++ contrib/mp-buildbot/tools/uninstall-old-ports.tcl	2016-03-22 02:59:21 UTC (rev 146946)
@@ -81,7 +81,7 @@
     set portindex_match [mportlookup $installed_name]
     if {[llength $portindex_match] < 2} {
         # Not found in index, classify as old
-		ui_msg "Removing $installed_name$installed_variants $installed_epoch@$installed_version-$installed_revision because it is no longer in the PortIndex"
+        ui_msg "Removing $installed_name$installed_variants $installed_epoch@$installed_version-$installed_revision because it is no longer in the PortIndex"
         set old yes
     } else {
         array unset portinfo
@@ -91,13 +91,13 @@
         if {$result > 0} {
             # Port is outdated because the version in the index is newer than
             # the installed one
-			ui_msg "Removing $installed_name$installed_variants $installed_epoch@$installed_version-$installed_revision because there is a newer version in the PortIndex"
+            ui_msg "Removing $installed_name$installed_variants $installed_epoch@$installed_version-$installed_revision because there is a newer version in the PortIndex"
             set old yes
         }
         # If the version we have is newer than the one in the PortIndex, we are
         # probably building agaist an old version of the ports tree.
     }
     if {$old} {
-        registry::uninstall $installed_name $installed_version $installed_revision $installed_variants [list ports_force 1]
+        registry_uninstall::uninstall $installed_name $installed_version $installed_revision $installed_variants [list ports_force 1]
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160321/e3a04eeb/attachment.html>


More information about the macports-changes mailing list