Skip to content

Commit 01a8366

Browse files
committed
Disable deprecated scripts
These have been deprecated for over two years. Time to make them fail.
1 parent 4b43b8e commit 01a8366

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

install

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/ruby
22

3-
STDERR.print <<EOS
4-
Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in
3+
abort <<EOS
4+
Error: The Ruby Homebrew installer is now disabled and has been rewritten in
55
Bash. Please migrate to the following command:
66
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
77
88
EOS
9-
10-
Kernel.exec "/bin/bash", "-c", '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"'

uninstall

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/ruby
22

3-
STDERR.print <<EOS
4-
Warning: The Ruby Homebrew uninstaller is now deprecated and has been rewritten in
3+
abort <<EOS
4+
Error: The Ruby Homebrew uninstaller is now disabled and has been rewritten in
55
Bash. Please migrate to the following command:
66
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
77
88
EOS
9-
10-
Kernel.exec "/bin/bash", "-c", '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"' + ' uninstall ' + ARGV.join(" ")

0 commit comments

Comments
 (0)