From 2220806fde634c565bbc2b1ca0be78cccacf0df6 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Tue, 28 Apr 2009 14:24:31 +0200 Subject: [PATCH] Force apache2 and php5 upgrade. --- src/functions.sh | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/functions.sh b/src/functions.sh index bba996c..2d3df43 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -981,18 +981,17 @@ upgrade_libc () { DEBIAN_FRONTEND=noninteractive pkgadd libc6 tzdata } -# upgrade apache2 to etch +# upgrade apache2 to lenny upgrade_apache2 () { local package packages for package in \ - libapache2-mod-php4 \ - php4-cli \ - php4-cgi \ - php4-cn \ + libapache2-mod-php5 \ + php5-cli \ + php5-cn \ apache2-cn \ - php4-odbc \ - php4-suhosin \ + php5-odbc \ + php5-suhosin \ php-suhosin-cn do if pkg $package; then @@ -1000,11 +999,6 @@ upgrade_apache2 () { fi done - # enable suhosin downgrade to etch version - if pkg php4-suhosin; then - pkgrm php4-suhosin php-suhosin-cn - fi - eval pkgadd $packages } -- 1.7.10.4