mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
[fix] update plugins contextmenu & automatic_addressbook
This commit is contained in:
parent
98fb8a979e
commit
1a0ebf97ff
2 changed files with 7 additions and 6 deletions
|
@ -69,17 +69,15 @@ ynh_substitute_char "#DBNAME#" "$dbname" "$rc_conf"
|
|||
|
||||
# Install files and set permissions
|
||||
sudo mkdir -p "${final_path}/logs" "${final_path}/temp"
|
||||
sudo chown -R $app: "${final_path}"
|
||||
|
||||
# Install some plugins manually
|
||||
sudo cp -r ../sources/plugins/ldapAliasSync "${final_path}/plugins"
|
||||
sudo chown -R $app: "${final_path}/plugins/ldapAliasSync"
|
||||
installed_plugins=" 'ldapAliasSync',"
|
||||
|
||||
# Install additional plugins
|
||||
exec_composer admin "$final_path" require \
|
||||
"johndoh/contextmenu dev-release-2.1" \
|
||||
"sblaisot/automatic_addressbook"
|
||||
"johndoh/contextmenu 2.1.2" \
|
||||
"sblaisot/automatic_addressbook 0.4.2"
|
||||
installed_plugins+=" 'contextmenu', 'automatic_addressbook',"
|
||||
|
||||
# Instal CardDAV plugin
|
||||
|
@ -93,6 +91,9 @@ fi
|
|||
sudo sed -i "s#^\s*// installed plugins#&\n ${installed_plugins}#" \
|
||||
"${final_path}/config/config.inc.php"
|
||||
|
||||
# Change owner final_path directory
|
||||
sudo chown -R $app: "${final_path}"
|
||||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
ynh_nginx_config
|
||||
|
||||
|
|
|
@ -88,8 +88,8 @@ installed_plugins=" 'ldapAliasSync',"
|
|||
|
||||
# Update or install additional plugins
|
||||
exec_composer admin "${final_path}" require \
|
||||
"johndoh/contextmenu dev-release-2.1" \
|
||||
"sblaisot/automatic_addressbook"
|
||||
"johndoh/contextmenu 2.1.2" \
|
||||
"sblaisot/automatic_addressbook 0.4.2"
|
||||
installed_plugins+=" 'contextmenu', 'automatic_addressbook',"
|
||||
|
||||
# Guess with_carddav value if empty
|
||||
|
|
Loading…
Reference in a new issue