Permalink
Browse files

Reorder cubrid install steps

so that a valid hosts record is in place prior to installing cubrid.

Related to: travis-ci/travis-ci#5254
  • Loading branch information...
1 parent 13268a9 commit a7ac8dd8718d3e0ead4c6ab86b881b52e2bfa28b @meatballhat meatballhat committed Dec 16, 2015
Showing with 1 addition and 2 deletions.
  1. +1 −2 travis/cubrid.sh
View
@@ -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 a7ac8dd

Please sign in to comment.