From cce8f05540161810b020c725285c904196f889ae Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Tue, 31 Jan 2012 12:38:06 +0100 Subject: [PATCH] Fix mysql upgrade. --- src/actions/main.queue | 2 +- src/functions.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/actions/main.queue b/src/actions/main.queue index 39cab95..285ba62 100644 --- a/src/actions/main.queue +++ b/src/actions/main.queue @@ -34,7 +34,7 @@ pkg amavisd-new upgrade_amavis pkg apache2-cn upgrade_apache2 pkg postfix-cn upgrade_postfix pkg bind9-cn upgrade_bind -true upgrade_mysql +pkg mysql-cn upgrade_mysql true upgrade_postgresql true upgrade first # neki paketi moraju rucno true upgrade second # neke pakete zelimo ranije diff --git a/src/functions.sh b/src/functions.sh index 1d05d1c..c6dbd85 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -907,8 +907,8 @@ upgrade_openldap () { upgrade_mysql () { if pkg mysql-server || pkg mysql-server-5.0; then pkgadd mysql-server - pkgrm mysql-server-5.0 - /etc/init.d/mysql start + dpkg -P mysql-server-5.0 + /etc/init.d/mysql restart fi } -- 1.7.10.4