1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/roundcube_ynh.git synced 2024-09-03 20:16:28 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2022-04-17 19:36:52 +02:00
parent 3c1cedef1e
commit 589eab529a
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -186,6 +186,10 @@ then
cp "$final_path/composer.json-dist" "$final_path/composer.json"
fi
# Remove collected_contacts TEMPORARY FIX
ynh_mysql_execute_as_root --sql="create table collected_contacts_bkp as (select * from collected_contacts);" --database=$db_name
ynh_mysql_execute_as_root --sql="drop table collected_contacts;" --database=$db_name
#=================================================
# UPGRADE ADDITIONAL PLUGINS
#=================================================
@ -204,6 +208,10 @@ then
johndoh/contextmenu $contextmenu_version \
sblaisot/automatic_addressbook $automatic_addressbook_version"
# Restaure collected_contacts TEMPORARY FIX
ynh_mysql_execute_as_root --sql="insert into collected_contacts (select * from collected_contacts_bkp);" --database=$db_name
installed_plugins+=" 'contextmenu', 'automatic_addressbook',"
ynh_add_config --template="../conf/enigma.config.inc.php" --destination="$final_path/plugins/enigma/config.inc.php"