1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2024-02-01 13:40:52 +01:00
parent 8aab6f76c2
commit 29fc438f18

View file

@ -75,8 +75,8 @@ exec_occ() {
# HANDLE DATABASE MIGRATION FROM MYSL TO PSQL # HANDLE DATABASE MIGRATION FROM MYSL TO PSQL
#================================================= #=================================================
# If we're moving through version 28.0.2~ynh1 (in which the switch to psql is made) # If we're moving through version 28.0.1~ynh1 (in which the switch to psql is made)
if ynh_compare_current_package_version --comparison lt --version 28.0.2~ynh1 if ynh_compare_current_package_version --comparison lt --version 28.0.1~ynh1
then then
# Double-check the MySQL DB is here # Double-check the MySQL DB is here
if ! mysql -e "USE $db_name" 2>/dev/null if ! mysql -e "USE $db_name" 2>/dev/null