From: Valentin Vidic Date: Mon, 14 Apr 2008 08:49:27 +0000 (+0200) Subject: Force downgrade of php4-suhosin to etch version. X-Git-Tag: debian/4.0.1~1 X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=commitdiff_plain;h=de9d7ed8cd50fc995c212075d5eac864bc10e3da;p=carnet-upgrade.git Force downgrade of php4-suhosin to etch version. --- diff --git a/src/functions.sh b/src/functions.sh index 00ae1ff..4775de3 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -641,16 +641,20 @@ upgrade_apache2 () { php4-cn \ apache2-cn \ php4-odbc \ - php4-suhosin + php4-suhosin \ + php-suhosin-cn do if pkg $package; then packages="$packages $package" fi done - for package in $(echo $packages); do - pkgadd $package - done + # enable suhosin downgrade to etch version + if pkg php4-suhosin; then + pkgrm php4-suhosin php-suhosin-cn + fi + + eval pkgadd $packages } upgrade_amavis () {