Skip to content

Commit

Permalink
travis: indent
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 14, 2012
1 parent cd36c60 commit 87ba06c
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions data/travis/setup.sh
Expand Up @@ -14,25 +14,25 @@ if [ "$GROONGA_MASTER" = "yes" ]; then
sudo make install > /dev/null
cd ..
else
distribution=$(lsb_release --short --id | tr 'A-Z' 'a-z')
code_name=$(lsb_release --short --codename)
case $distribution in
debian)
component=main
;;
ubuntu)
component=universe
;;
esac
apt_url_base=http://packages.groonga.org
cat <<EOF | sudo tee /etc/apt/sources.list.d/groonga.list
distribution=$(lsb_release --short --id | tr 'A-Z' 'a-z')
code_name=$(lsb_release --short --codename)
case $distribution in
debian)
component=main
;;
ubuntu)
component=universe
;;
esac
apt_url_base=http://packages.groonga.org
cat <<EOF | sudo tee /etc/apt/sources.list.d/groonga.list
deb ${apt_url_base}/${distribution}/ ${code_name} ${component}
deb-src ${apt_url_base}/${distribution}/ ${code_name} ${component}
EOF

sudo apt-get update
sudo apt-get -y --allow-unauthenticated install groonga-keyring
sudo apt-get -y purge zeromq
sudo apt-get update
sudo apt-get -y -V install groonga libgroonga-dev
sudo apt-get update
sudo apt-get -y --allow-unauthenticated install groonga-keyring
sudo apt-get -y purge zeromq
sudo apt-get update
sudo apt-get -y -V install groonga libgroonga-dev
fi

0 comments on commit 87ba06c

Please sign in to comment.