diff --git a/Formula/q/qt@5.rb b/Formula/q/qt@5.rb index c0c7ac8b426c..ebc3a9ffd63d 100644 --- a/Formula/q/qt@5.rb +++ b/Formula/q/qt@5.rb @@ -256,10 +256,10 @@ class QtAT5 < Formula end def install - (buildpath/"qtwebengine").rmtree + rm_r(buildpath/"qtwebengine") (buildpath/"qtwebengine").install resource("qtwebengine") - (buildpath/"qtwebengine/src/3rdparty/chromium/third_party/catapult").rmtree + rm_r(buildpath/"qtwebengine/src/3rdparty/chromium/third_party/catapult") (buildpath/"qtwebengine/src/3rdparty/chromium/third_party/catapult").install resource("catapult") # FIXME: GN requires clang in clangBasePath/bin diff --git a/Formula/q/questdb.rb b/Formula/q/questdb.rb index 58a7592674c9..f4b0e9d33690 100644 --- a/Formula/q/questdb.rb +++ b/Formula/q/questdb.rb @@ -23,7 +23,7 @@ class Questdb < Formula depends_on "openjdk" def install - rm_rf "questdb.exe" + rm_r("questdb.exe") libexec.install Dir["*"] (bin/"questdb").write_env_script libexec/"questdb.sh", Language::Java.overridable_java_home_env inreplace libexec/"questdb.sh", "/usr/local/var/questdb", var/"questdb" diff --git a/Formula/q/quictls.rb b/Formula/q/quictls.rb index d2ee986e208b..34309b727478 100644 --- a/Formula/q/quictls.rb +++ b/Formula/q/quictls.rb @@ -102,7 +102,7 @@ def quictlsdir end def post_install - rm_f quictlsdir/"cert.pem" + rm(quictlsdir/"cert.pem") if (quictlsdir/"cert.pem").exist? quictlsdir.install_symlink Formula["ca-certificates"].pkgetc/"cert.pem" end