Navigation Menu

Skip to content

Commit

Permalink
install groonga apt repository key.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 23, 2010
1 parent e62ac3a commit 1d80700
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions apt/build-deb.sh
Expand Up @@ -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
Expand All @@ -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}/
Expand Down

0 comments on commit 1d80700

Please sign in to comment.