Browse code

make sure apt-get update is run

Previously, the only path that would only ensure that 'apt-get update'
was run was when the stack user was created.

Archives can be out of date, apt-get should be run.

Scott Moser authored on 2011/10/07 23:44:38
Showing 1 changed files
... ...
@@ -235,6 +235,7 @@ ADMIN_PASSWORD=${ADMIN_PASSWORD:-`openssl rand -hex 10`}
235 235
 
236 236
 
237 237
 # install apt requirements
238
+sudo apt-get update
238 239
 sudo apt-get install -qqy `cat $FILES/apts/* | cut -d\# -f1 | grep -Ev "mysql-server|rabbitmq-server"`
239 240
 
240 241
 # install python requirements