From e6229d5597b864d2ab85212bedbeddd7bc47d980 Mon Sep 17 00:00:00 2001
From: Valentin Vidic <vvidic@carnet.hr>
Date: Mon, 14 Jan 2008 10:58:14 +0100
Subject: [PATCH] Removed workaround for apache/php circular depends.

---
 src/functions.sh |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/functions.sh b/src/functions.sh
index 87d0e92..f98489a 100644
--- a/src/functions.sh
+++ b/src/functions.sh
@@ -470,13 +470,8 @@ upgrade_apache () {
   #pkgadd apache2-cn php5-cn aosi-aai aosi-www-aai # squirrelmail-cn
 
   pkgadd apache2 apache2-mpm-prefork libapache2-mod-php4 ssl-cert
-  apt-get install -y -d apache2-cn php4-cn
-  apt-get autoclean
-  dpkg -i --ignore-depends=apache2-cn \
-     /var/cache/apt/archives/apache2-cn_* \
-     /var/cache/apt/archives/php4-cn_*
-
-  pkgadd aosi-aai aosi-www-aai # squirrelmail-cn
+  pkgadd apache2-cn php4-cn
+  pkgadd aosi-aai aosi-www-aai squirrelmail-cn
 }
 
 upgrade_amavis () {
-- 
1.7.10.4