[Groonga-commit] groonga/groonga-normalizer-mysql at c6e321f [master] yum: add workaround for CentOS 5 :<

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jul 30 15:31:53 JST 2014


Kouhei Sutou	2014-07-30 15:31:53 +0900 (Wed, 30 Jul 2014)

  New Revision: c6e321f13386338a884bf0043e0d6259666c2750
  https://github.com/groonga/groonga-normalizer-mysql/commit/c6e321f13386338a884bf0043e0d6259666c2750

  Message:
    yum: add workaround for CentOS 5 :<

  Modified files:
    packages/yum/update-repository.sh

  Modified: packages/yum/update-repository.sh (+3 -1)
===================================================================
--- packages/yum/update-repository.sh    2014-07-30 15:20:12 +0900 (ea0fc4b)
+++ packages/yum/update-repository.sh    2014-07-30 15:31:53 +0900 (0405859)
@@ -23,7 +23,9 @@ run()
 
 for distribution in ${DISTRIBUTIONS}; do
     for dir in ${DESTINATION}${distribution}/*/*; do
-	test -d $dir &&	run createrepo $dir
+	# "--checksum sha" is for CentOS 5. If we drop CentOS 5 support,
+	# we can remove the option.
+	test -d $dir &&	run createrepo --checksum sha $dir
     done;
 
     run cp $script_base_dir/RPM-GPG-KEY-${GPG_KEY_NAME} \
-------------- next part --------------
HTML����������������������������...
Download 



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