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
fi
done
- # enable suhosin downgrade to etch version
- if pkg php4-suhosin; then
- pkgrm php4-suhosin php-suhosin-cn
- fi
-
eval pkgadd $packages
}