projects
/
carnet-upgrade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d2a48
)
Force downgrade of php4-suhosin to etch version.
author
Valentin Vidic
<vvidic@carnet.hr>
Mon, 14 Apr 2008 08:49:27 +0000
(10:49 +0200)
committer
Valentin Vidic
<vvidic@carnet.hr>
Mon, 14 Apr 2008 08:49:27 +0000
(10:49 +0200)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
00ae1ff
..
4775de3
100644
(file)
--- 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 () {