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