[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] install groonga apt repository key.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:21:07 JST 2012


Kouhei Sutou	2010-08-23 17:38:00 +0900 (Mon, 23 Aug 2010)

  New Revision: 1d8070025a61be89b7449852e8b58fa97ec14e22
  https://github.com/mroonga/mroonga/commit/1d8070025a61be89b7449852e8b58fa97ec14e22

  Log:
    install groonga apt repository key.

  Modified files:
    apt/build-deb.sh

  Modified: apt/build-deb.sh (+6 -4)
===================================================================
--- apt/build-deb.sh    2010-08-23 17:06:05 +0900 (e9656e4)
+++ apt/build-deb.sh    2010-08-23 17:38:00 +0900 (d3b4acc)
@@ -22,6 +22,8 @@ run()
 grep '^deb ' /etc/apt/sources.list | \
     sed -e 's/^deb /deb-src /' > /etc/apt/sources.list.d/base-source.list
 
+apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
+
 if [ ! -x /usr/bin/aptitude ]; then
     run apt-get install -y aptitude
 fi
@@ -42,15 +44,15 @@ cat <<EOF > $BUILD_SCRIPT
 rm -rf build
 mkdir -p build
 
-cp /tmp/${PACKAGE}-${VERSION}.tar.gz build/${PACKAGE}_${VERSION}.orig.tar.gz
-cd build
-
 rm -rf mysql-package
 mkdir -p mysql-package
 cd mysql-package
 apt-get source -b ${mysql_server_package}
 cd ..
-ln -fs \$(find mysql-package -maxdepth 1 -type 1) mysql
+ln -fs \$(find mysql-package -maxdepth 1 -type d | tail -1) mysql
+
+cp /tmp/${PACKAGE}-${VERSION}.tar.gz build/${PACKAGE}_${VERSION}.orig.tar.gz
+cd build
 
 tar xfz ${PACKAGE}_${VERSION}.orig.tar.gz
 cd ${PACKAGE}-${VERSION}/
-------------- next part --------------
HTML����������������������������...
Télécharger 



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