[70611] branches/gsoc10-configfiles/base/src/registry2.0/portimage.tcl

and.damore at macports.org and.damore at macports.org
Sun Aug 15 00:42:06 PDT 2010


Revision: 70611
          http://trac.macports.org/changeset/70611
Author:   and.damore at macports.org
Date:     2010-08-15 00:42:03 -0700 (Sun, 15 Aug 2010)
Log Message:
-----------
reverted _deactivate_contents to original form, checking here for config files changes is a level too deep

Modified Paths:
--------------
    branches/gsoc10-configfiles/base/src/registry2.0/portimage.tcl

Modified: branches/gsoc10-configfiles/base/src/registry2.0/portimage.tcl
===================================================================
--- branches/gsoc10-configfiles/base/src/registry2.0/portimage.tcl	2010-08-15 07:34:37 UTC (rev 70610)
+++ branches/gsoc10-configfiles/base/src/registry2.0/portimage.tcl	2010-08-15 07:42:03 UTC (rev 70611)
@@ -795,20 +795,6 @@
         registry::write {
             $port deactivate $imagefiles
             foreach file $files {
-                if { [file isfile $file] && [is_config_file $file]} {
-                        if {[catch {md5 file "$file"} actual_md5] == 0} {
-                            set stored_md5 [dict get $imagefiles_with_md5 $file]
-                            if {[string equal -nocase \
-                                    $actual_md5 $stored_md5]} {
-                                puts "GSOCDBG:\t\tnot modified file:$file - deactivating it"
-                            } else {
-                                puts "GSOCDBG:\t\tmodified file:$file - PLEASE RUN port upgrade config-upgrade"
-                                continue
-                            }
-                        } else {
-                            puts "couldn't catch md5"
-                        }
-                }
                 _deactivate_file $file
             }
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100815/a7f84799/attachment.html>


More information about the macports-changes mailing list