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-06-25 15:44:07 +02:00
parent 7e51d535cb
commit 2d4ff6bfbf

View file

@ -76,7 +76,7 @@ exec_occ() {
#================================================= #=================================================
# If we're moving through version 29.0.2~ynh1 (in which the switch to psql is made) # If we're moving through version 29.0.2~ynh1 (in which the switch to psql is made)
if ynh_compare_current_package_version --comparison lt --version 29.0.2~ynh1 if ynh_compare_current_package_version --comparison lt --version 29.0.3~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