[62631] trunk/base/src/registry1.0/portimage.tcl

jmr at macports.org jmr at macports.org
Tue Jan 12 11:48:33 PST 2010


Revision: 62631
          http://trac.macports.org/changeset/62631
Author:   jmr at macports.org
Date:     2010-01-12 11:48:30 -0800 (Tue, 12 Jan 2010)
Log Message:
-----------
fix re-registering of moved files to the ports that installed them during forced activation

Modified Paths:
--------------
    trunk/base/src/registry1.0/portimage.tcl

Modified: trunk/base/src/registry1.0/portimage.tcl
===================================================================
--- trunk/base/src/registry1.0/portimage.tcl	2010-01-12 16:56:40 UTC (rev 62630)
+++ trunk/base/src/registry1.0/portimage.tcl	2010-01-12 19:48:30 UTC (rev 62631)
@@ -338,7 +338,7 @@
 			if { $port != 0 } {
 				set bakport [registry::file_registered $file]
 				registry::unregister_file $file
-				if {[file exists $file]} {
+				if {[file exists $bakfile]} {
 					registry::register_file $bakfile $bakport
 				}
 			}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100112/205fc052/attachment.html>


More information about the macports-changes mailing list