From 406674da8597746f5f1104908c01824b2c533add Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 27 Mar 2014 17:13:36 +0100 Subject: [PATCH] fixing upgrade check --- install/upgrade_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/upgrade_check.sh b/install/upgrade_check.sh index 1711f1b6..af051b0f 100755 --- a/install/upgrade_check.sh +++ b/install/upgrade_check.sh @@ -21,7 +21,7 @@ get_ext() { # Reading the current version in the DB. # If the DB exist but the alternc_status table doesn't, we will initialize it below # In that case we search where we upgrade from in /var/lib/alternc/backups/lastversion from debian.postinstall script -oldvers="`mysql --defaults-file=/etc/alternc/my.cnf --skip-column-name -e "SELECT value FROM alternc_status WHERE name='alternc_version'"||true`" +oldvers="`mysql --defaults-file=/etc/alternc/my.cnf --skip-column-names -e "SELECT value FROM alternc_status WHERE name='alternc_version'"||true`" if [ -z "$oldvers" ] then # no version number, we check from /var/lib/alternc