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:
parent
29fc438f18
commit
8912fbef1f
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ exec_occ() {
|
|||
# HANDLE DATABASE MIGRATION FROM MYSL TO PSQL
|
||||
#=================================================
|
||||
|
||||
# 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.1~ynh1
|
||||
# If we're moving through version 28.0.2~ynh1 (in which the switch to psql is made)
|
||||
if ynh_compare_current_package_version --comparison lt --version 28.0.2~ynh2
|
||||
then
|
||||
# Double-check the MySQL DB is here
|
||||
if ! mysql -e "USE $db_name" 2>/dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue