mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-03 05:59:45 -05:00
Ignore .DS_Store files when listing keg contents
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
a1fe19ca3f
commit
f5db3aa9fb
1 file changed
+2
-2
@@ -499,7 +499,7 @@ class PrettyListing
|
||||
else
|
||||
print_dir pn
|
||||
end
|
||||
elsif not FORMULA_META_FILES.include? pn.basename.to_s
|
||||
elsif not (FORMULA_META_FILES.include? pn.basename.to_s or pn.basename.to_s == '.DS_Store')
|
||||
puts pn
|
||||
end
|
||||
end
|
||||
@@ -519,7 +519,7 @@ private
|
||||
puts pn
|
||||
other = 'other '
|
||||
else
|
||||
remaining_root_files << pn
|
||||
remaining_root_files << pn unless pn.basename.to_s == '.DS_Store'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user