Skip to content

Commit

Permalink
supertux: Fix Homebrew/NoFileutilsRmrf RuboCop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed Jul 31, 2024
1 parent 9f879fd commit 825c442
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/s/supertux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def install
system "cmake", "--install", "build"

# Remove unnecessary files
(share/"applications").rmtree
(share/"pixmaps").rmtree
(prefix/"MacOS").rmtree if OS.mac?
rm_r(share/"applications")
rm_r(share/"pixmaps")
rm_r(prefix/"MacOS") if OS.mac?
end

test do
Expand Down

0 comments on commit 825c442

Please sign in to comment.