From 4012a99f4e6eced5efb3dea828872d4e46291989 Mon Sep 17 00:00:00 2001 From: anmol Date: Tue, 20 Nov 2018 12:54:53 +0530 Subject: [PATCH] Fix mysql query for version 3.8.4 --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index b6f9c544..27b1acee 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -145,7 +145,7 @@ ynh_install_app_dependencies php-mbstring php5-cli 'php5-imagick|php-imagick' ph #================================================= # Check version and if this version was a fresh install push mysq query -if [ -z "$last_update" ] | [ "$version" == "3.8.4" ]; then +if [ -z "$last_update" ] && [ "$version" == "3.8.4" ]; then ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < "../conf/sql/385.sql" fi