From 296e5082f4a12e1a427333c4b7dbb2f3907e1dfb Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Mon, 10 Feb 2025 20:31:07 +0800 Subject: [PATCH] rclone-mac: remove (presumably) unneeded inreplace Closes #66. Signed-off-by: Adrian Ho <215702+gromgit@users.noreply.github.com> --- Formula/rclone-mac.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Formula/rclone-mac.rb b/Formula/rclone-mac.rb index 9a2f0e4..b278ec1 100644 --- a/Formula/rclone-mac.rb +++ b/Formula/rclone-mac.rb @@ -30,10 +30,6 @@ class RcloneMac < Formula system bin/name.to_s, "genautocomplete", "bash", "#{name}.bash" system bin/name.to_s, "genautocomplete", "zsh", "_rclone" system bin/name.to_s, "genautocomplete", "zsh", "_#{name}" - inreplace "#{name}.bash" do |s| - s.gsub! "commands=(\"rclone\")", "commands=(\"#{name}\")" - s.gsub!(/(-F __start_rclone) rclone$/, "\\1 #{name}") - end bash_completion.install "rclone.bash" => "rclone" bash_completion.install "#{name}.bash" => name.to_s zsh_completion.install "_rclone"