mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
Put db_pwd out of the condition
This commit is contained in:
parent
96a084065c
commit
60737ae672
1 changed files with 2 additions and 1 deletions
|
@ -135,11 +135,12 @@ ynh_add_fpm_config
|
|||
# UPGRADE THE DATABASE
|
||||
#=================================================
|
||||
|
||||
db_pwd=$(ynh_app_setting_get $app mysqlpwd)
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Upgrading database..." --weight=2
|
||||
|
||||
db_pwd=$(ynh_app_setting_get $app mysqlpwd)
|
||||
# Handle upgrade from a version before latest version
|
||||
# Ignore warnings and failures that will occur if already on latest version
|
||||
ynh_replace_string "phpmyadmin" "$db_name" $final_path/sql/upgrade_column_info_4_3_0+.sql
|
||||
|
|
Loading…
Reference in a new issue