[Groonga-mysql-commit] mroonga/homebrew [master] Fix download URL

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jan 8 13:10:35 JST 2013


Kouhei Sutou	2013-01-08 13:10:35 +0900 (Tue, 08 Jan 2013)

  New Revision: a9867b6b8efcb954724ce94514156442f17f1dc7
  https://github.com/mroonga/homebrew/commit/a9867b6b8efcb954724ce94514156442f17f1dc7

  Log:
    Fix download URL
    
    GitHub -> packages.groonga.org

  Modified files:
    mroonga.rb
    update.sh

  Modified: mroonga.rb (+2 -2)
===================================================================
--- mroonga.rb    2012-12-30 12:57:11 +0900 (0102b5e)
+++ mroonga.rb    2013-01-08 13:10:35 +0900 (9aca60b)
@@ -4,8 +4,8 @@ require 'formula'
 
 class Mroonga < Formula
   homepage 'http://mroonga.github.com/'
-  url 'https://github.com/downloads/mroonga/mroonga/mroonga-2.10.tar.gz'
-  md5 '78ba6c2f6829f64d45d366da7ff7f189'
+  url 'http://packages.groonga.org/source/mroonga/mroonga-2.10.tar.gz'
+  md5 'd221c5f99efb76efda1f3e068346786a'
 
   if ARGV.include?("--use-homebrew-mysql")
     depends_on 'mysql'

  Modified: update.sh (+3 -3)
===================================================================
--- update.sh    2012-12-30 12:57:11 +0900 (9d909cc)
+++ update.sh    2013-01-08 13:10:35 +0900 (cfa1a22)
@@ -10,9 +10,9 @@ version=$1
 
 base_name=mroonga-$version.tar.gz
 
-github_base_url=https://github.com/downloads/mroonga/mroonga
+download_base_url=http://packages.groonga.org/source/mroonga
 tmp_dir=/tmp/homebrew-mroonga
-mroonga_url=$github_base_url/$base_name
+mroonga_url=$download_base_url/$base_name
 
 rm -rf $tmp_dir
 mkdir -p $tmp_dir
@@ -24,7 +24,7 @@ cd -
 rm -rf $tmp_dir
 
 sed -i'' \
-  -e "s,'https:.*','$mroonga_url'," \
+  -e "s,'http://packages.*','$mroonga_url'," \
   mroonga.rb
 sed -i'' \
   -e "s,md5 '.*',md5 '$md5'," \
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index