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:
parent
3c1cedef1e
commit
589eab529a
1 changed files with 8 additions and 0 deletions
|
@ -186,6 +186,10 @@ then
|
||||||
cp "$final_path/composer.json-dist" "$final_path/composer.json"
|
cp "$final_path/composer.json-dist" "$final_path/composer.json"
|
||||||
fi
|
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
|
# UPGRADE ADDITIONAL PLUGINS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -204,6 +208,10 @@ then
|
||||||
johndoh/contextmenu $contextmenu_version \
|
johndoh/contextmenu $contextmenu_version \
|
||||||
sblaisot/automatic_addressbook $automatic_addressbook_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',"
|
installed_plugins+=" 'contextmenu', 'automatic_addressbook',"
|
||||||
|
|
||||||
ynh_add_config --template="../conf/enigma.config.inc.php" --destination="$final_path/plugins/enigma/config.inc.php"
|
ynh_add_config --template="../conf/enigma.config.inc.php" --destination="$final_path/plugins/enigma/config.inc.php"
|
||||||
|
|
Loading…
Add table
Reference in a new issue