Upgrade for mysql-server-5.1.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Fri, 11 Oct 2013 10:52:32 +0000 (12:52 +0200)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Fri, 11 Oct 2013 10:52:32 +0000 (12:52 +0200)
src/functions.sh

index 6f98950..06cbbc2 100644 (file)
@@ -953,9 +953,9 @@ upgrade_freeradius () {
 
 # handle mysql 5.0 to 5.1 upgrade
 upgrade_mysql () {
-  if pkg mysql-server || pkg mysql-server-5.0; then
+  if pkg mysql-server || pkg mysql-server-5.1; then
      pkgadd mysql-server
-     dpkg -P mysql-server-5.0
+     dpkg -P mysql-server-5.1
      /etc/init.d/mysql restart
   fi
 }