aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/search.rb
diff options
context:
space:
mode:
authorViktor Szakats2015-01-04 05:02:27 +0100
committerJack Nagel2015-01-04 02:13:16 -0500
commitfc2818b7a54dadcf0c35965ef1f07219da3fc4a7 (patch)
treeda47cf7c6493a7d81d5fe858020ec9448c522138 /Library/Homebrew/cmd/search.rb
parent9db8580414da119def53f5bc7b0073683ebc9d2c (diff)
downloadbrew-fc2818b7a54dadcf0c35965ef1f07219da3fc4a7.tar.bz2
Use more https in urls and updated some lost links
Closes Homebrew/homebrew#35531. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd/search.rb')
-rw-r--r--Library/Homebrew/cmd/search.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb
index 36ebb4938..ba703a08b 100644
--- a/Library/Homebrew/cmd/search.rb
+++ b/Library/Homebrew/cmd/search.rb
@@ -9,11 +9,11 @@ module Homebrew
def search
if ARGV.include? '--macports'
- exec_browser "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
+ exec_browser "https://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
elsif ARGV.include? '--fink'
exec_browser "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}"
elsif ARGV.include? '--debian'
- exec_browser "http://packages.debian.org/search?keywords=#{ARGV.next}&searchon=names&suite=all&section=all"
+ exec_browser "https://packages.debian.org/search?keywords=#{ARGV.next}&searchon=names&suite=all&section=all"
elsif ARGV.include? '--opensuse'
exec_browser "http://software.opensuse.org/search?q=#{ARGV.next}"
elsif ARGV.include? '--fedora'