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:
3585ce9
)
Remove libc6-dev to enable mysql upgrade.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 7 Nov 2013 09:45:30 +0000
(10:45 +0100)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 7 Nov 2013 09:45:30 +0000
(10:45 +0100)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
76e1eff
..
d783133
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-888,6
+888,11
@@
upgrade_amavis () {
# handle mysql 5.0 to 5.1 upgrade
upgrade_mysql () {
+ # libc6-dev prevents mysql upgrade
+ if pkg libc6-dev; then
+ pkgrm libc6-dev
+ fi
+
if pkg mysql-server || pkg mysql-server-5.1; then
pkgadd mysql-server
dpkg -P mysql-server-5.1