mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-31 15:02:17 +00:00
rclone-mac: remove (presumably) unneeded inreplace
Closes #66. Signed-off-by: Adrian Ho <215702+gromgit@users.noreply.github.com>
This commit is contained in:
parent
bea17a4625
commit
296e5082f4
1 changed files with 0 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue