Skip to content

Commit

Permalink
Cleanup homebrew from template
Browse files Browse the repository at this point in the history
Summary:

As the cleanup for `homebrew` continues, this makes sure we deprecate it from the paths as possible.

This clears out `opt/homebrew/bin` from the path in favor of `opt/facebook/bin`.

Differential Revision: D51203332

fbshipit-source-id: f16d3014dcd4801bff230d148fd97098eff6f521
  • Loading branch information
mar-jac authored and facebook-github-bot committed Nov 15, 2023
1 parent 35fefd3 commit d1b1a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/fb_tmpclean/templates/default/tmpreaper.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
<% path = '/usr/sbin:/usr/bin:/sbin:/bin'
if node.macos?
path << ':/opt/local/sbin:/opt/homebrew/sbin'
path << ':/opt/local/sbin:/opt/facebook/sbin'
end
tmpclean = node['fb_tmpclean'].to_hash
topt = tmpclean['timestamptype'] == 'atime' ? '--mtime-dir' : '--mtime' -%>
Expand Down

0 comments on commit d1b1a92

Please sign in to comment.