mirror of
https://github.com/YunoHost-Apps/dolibarr_ynh.git
synced 2024-09-03 18:35:53 +02:00
fix upgrade
This commit is contained in:
parent
b098296ebe
commit
fb89b1b1eb
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ charset=$(mysql -ss -N -e "SELECT default_character_set_name FROM information_sc
|
||||||
if [ "$charset" != "utf8" ]; then
|
if [ "$charset" != "utf8" ]; then
|
||||||
ynh_print_info --message="Changing Database charset to utf8"
|
ynh_print_info --message="Changing Database charset to utf8"
|
||||||
ynh_mysql_execute_as_root --sql="ALTER DATABASE $db_name charset=utf8"
|
ynh_mysql_execute_as_root --sql="ALTER DATABASE $db_name charset=utf8"
|
||||||
ynh_local_curl "/install/repair.php" "force_utf8_on_tables=confirmed" > "/var/log/$app/repair.html"
|
ynh_local_curl "/install/repair.php" "force_utf8_on_tables=confirmed"
|
||||||
ynh_exec_fully_quiet sleep 5
|
ynh_exec_fully_quiet sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue