Skip to content

Commit

Permalink
Merge pull request #178588 from Homebrew/youtube-dl-rubocop-no-rmrf
Browse files Browse the repository at this point in the history
youtube-dl: Fix `Homebrew/NoFileutilsRmrf` RuboCop offenses
  • Loading branch information
chenrui333 committed Jul 26, 2024
2 parents f4fa808 + 3e4f6a4 commit c464905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/y/youtube-dl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def install
if build.head?
system "make", "PREFIX=#{prefix}", "MANDIR=#{man}", "PYTHON=#{python3}", "install"
fish_completion.install prefix/"etc/fish/completions/youtube-dl.fish"
(prefix/"etc/fish").rmtree
rm_r(prefix/"etc/fish")
else
virtualenv_install_with_resources
# Handle "ERROR: Unable to extract uploader id" until new release
Expand Down

0 comments on commit c464905

Please sign in to comment.