From 78d3611eba515beb85b86c1fc238cbbdbb1bc02f Mon Sep 17 00:00:00 2001
From: Riyad Preukschas <riyad@informatik.uni-bremen.de>
Date: Wed, 5 Dec 2012 18:18:09 +0100
Subject: [PATCH] Remove redundant packages and move database specific ones to
 the db setup

* build-essential requires make, gcc
* remove libmysql++-dev: the mysql2 gem only requires libmysqlclient-dev
* remove postgresql-server-dev-9.1: the pg gem only requires libpq-dev
* replace python-dev, python-pip with python2.7: the pygments.rb gem only requires python2.7
---
 doc/install/databases.md    | 2 +-
 doc/install/installation.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/install/databases.md b/doc/install/databases.md
index 1e714d793..92011647f 100644
--- a/doc/install/databases.md
+++ b/doc/install/databases.md
@@ -35,7 +35,7 @@ GitLab supports the following databases:
 ## PostgreSQL
 
     # Install the database packages
-    sudo apt-get install -y postgresql-9.1 postgresql-server-dev-9.1
+    sudo apt-get install -y postgresql-9.1 libpq-dev
 
     # Install only the necessary gems
     sudo -u gitlab -H bundle install --deployment --without development test mysql
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 2702aa899..0c4cbf3c3 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -44,7 +44,7 @@ Now install the required packages:
     sudo apt-get update
     sudo apt-get upgrade
 
-    sudo apt-get install -y wget curl gcc checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libreadline6-dev libc6-dev libssl-dev libmysql++-dev make build-essential zlib1g-dev libicu-dev redis-server openssh-server git-core python-dev python-pip libyaml-dev postfix libpq-dev
+    sudo apt-get install -y wget curl build-essential checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libreadline6-dev libc6-dev libssl-dev zlib1g-dev libicu-dev redis-server openssh-server git-core python2.7 libyaml-dev postfix
 
     sudo pip install pygments
 
-- 
2.30.9