<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/101725c1b7625de8e1af5e1409477566500f57a2">https://github.com/macports/macports-base/commit/101725c1b7625de8e1af5e1409477566500f57a2</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 101725c reclaim: ignore .DS_Store files
</span>101725c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 101725c1b7625de8e1af5e1409477566500f57a2
</span>Author: Kurt Hindenburg <kurt.hindenburg@gmail.com>
AuthorDate: Sun Sep 23 07:26:09 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> reclaim: ignore .DS_Store files
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Do not delete .DS_Store files that the OS uses for folder attributes
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/55938
</span>---
src/macports1.0/reclaim.tcl | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/reclaim.tcl b/src/macports1.0/reclaim.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 1c07d45..0e0e55c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/reclaim.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/reclaim.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -122,10 +122,13 @@ namespace eval reclaim {
</span> walk_files $currentPath $files_in_use unused
}
file {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {$item eq ".turd_MacPorts"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$item eq ".turd_MacPorts" || $item eq ".DS_Store"} {
</span> # .turd_MacPorts files are created by MacPorts when creating the MacPorts
# installer packages from the MacPorts port so that empty directories are
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # not deleted after destroot. Treat those files as if they were not there.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # not deleted after destroot.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # .DS_Store files are created by the OS that stores custom attributes of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # its containing folder,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Treat those files as if they were not there.
</span> continue
}
if {[lsearch -exact -sorted $files_in_use $currentPath] == -1} {
</pre><pre style='margin:0'>
</pre>