diff options
author | Mark Longair <mhl@pobox.com> | 2012-10-02 17:49:42 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2012-10-03 09:57:26 +0100 |
commit | 423e5a6129d96a608bd3d1f876f069cf2eedc490 (patch) | |
tree | 3187a2e384f9e6e8cb67c8b96ad0d89ae4a19ce0 | |
parent | 00a11fdc1288da6555c890e68f161b0f567c6452 (diff) |
install-script: Move installation of the required packages earlier
-rwxr-xr-x | bin/pre-install-as-root | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pre-install-as-root b/bin/pre-install-as-root index 369af408a..7ba759fd2 100755 --- a/bin/pre-install-as-root +++ b/bin/pre-install-as-root @@ -23,6 +23,9 @@ then shift fi +# Install some packages that we will definitely need: +apt-get install -y git-core lockfile-progs rubygems curl dnsutils lsb-release + # If we're not running on an EC2 instance, an empty body is returned # by this request: EC2_HOSTNAME=`curl -s http://169.254.169.254/latest/meta-data/public-hostname || true` @@ -261,9 +264,6 @@ add_unix_user "$UNIX_USER" update_apt_sources -# Install some packages that we will definitely need: -apt-get install -y git-core lockfile-progs rubygems - # And remove one crippling package, if it's installed: apt-get remove -y --purge apt-xapian-index || true |