~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/rocketfuel-setup

  • Committer: Michael Hudson
  • Date: 2010-07-27 05:07:09 UTC
  • mto: (11128.11.2)
  • mto: This revision was merged to the branch mainline in revision 11299.
  • Revision ID: michael.hudson@linaro.org-20100727050709-lue5tgfc3w5bhgj8
merge more separate apache config from later pipe

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
    translations.launchpad.dev
141
141
    xmlrpc-private.launchpad.dev
142
142
    xmlrpc.launchpad.dev
143
 
    vostok.dev
144
143
EOF
145
144
    )
146
145
 
156
155
  echo "bazaar.launchpad.dev added to /etc/hosts"
157
156
fi
158
157
 
 
158
grep -q "^127.0.0.77" /etc/hosts
 
159
if [ $? -ne 0 ]; then
 
160
  echo "
 
161
127.0.0.77      vostok.dev archive.vostok.dev
 
162
" | sudo tee -a /etc/hosts > /dev/null
 
163
  echo "vostok.dev added to /etc/hosts"
 
164
fi
 
165
 
159
166
# Enable relevant Ubuntu package repositories
160
167
grep -q "^deb http:.* ${DISTRIB_CODENAME} .*universe" /etc/apt/sources.list
161
168
if [ $? -ne 0 ]; then