Skip to content

Commit

Permalink
Reorder cubrid install steps
Browse files Browse the repository at this point in the history
so that a valid hosts record is in place prior to installing cubrid.

Related to: travis-ci/travis-ci#5254
  • Loading branch information
meatballhat authored and johnktims committed Dec 16, 2015
1 parent d331408 commit 18e4c12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions travis/cubrid.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh
hostname | sed 's/^/127.0.0.1 /g' | cat - /etc/hosts > /tmp/etchoststemp && sudo mv /tmp/etchoststemp /etc/hosts --force
echo 'yes' | sudo add-apt-repository ppa:cubrid/cubrid
sudo apt-get update
sudo apt-get install cubrid
sudo apt-get install cubrid-demodb
/etc/profile.d/cubrid.sh
hostname | sed 's/^/127.0.0.1 /g' | cat - /etc/hosts > /tmp/etchoststemp && sudo mv /tmp/etchoststemp /etc/hosts --force

0 comments on commit 18e4c12

Please sign in to comment.