<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch release-2.7
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/6d6a1306971274025fd3123bf6fde6e834eb6102">https://github.com/macports/macports-base/commit/6d6a1306971274025fd3123bf6fde6e834eb6102</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6d6a1306971274025fd3123bf6fde6e834eb6102
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Jan 15 22:14:48 2022 +1100
<span style='display:block; white-space:pre;color:#404040;'> _deactivate_contents: avoid double file type call
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> (cherry picked from commit 95fc30bdde8966c1713156e032ec28b94a4cae3f)
</span>---
src/registry2.0/portimage.tcl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/registry2.0/portimage.tcl b/src/registry2.0/portimage.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 31a05be9..7b88b2b2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/registry2.0/portimage.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/registry2.0/portimage.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -723,7 +723,7 @@ proc _deactivate_contents {port imagefiles {force 0} {rollback 0}} {
</span> set files [list]
foreach file $imagefiles {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [::file exists $file] || (![catch {::file type $file}] && [::file type $file] eq "link") } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [::file exists $file] || (![catch {::file type $file} ft] && $ft eq "link") } {
</span> # Normalize the file path to avoid removing the intermediate
# symlinks (remove the empty directories instead)
# Remark: paths in the registry may be not normalized.
</pre><pre style='margin:0'>
</pre>