mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
[fix] install carddav plugin correctly
This commit is contained in:
parent
b4541eaabf
commit
83d87a728c
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ init_composer() {
|
|||
# usage: install_carddav DESTDIR [AS_USER]
|
||||
install_carddav() {
|
||||
local DESTDIR=$1
|
||||
local AS_USER=${2:-www-data}
|
||||
local AS_USER=${2:-admin}
|
||||
|
||||
local carddav_config="${DESTDIR}/plugins/carddav/config.inc.php"
|
||||
local carddav_tmp_config="${PKGDIR}/conf/carddav.config.inc.php"
|
||||
|
|
|
@ -80,7 +80,7 @@ installed_plugins+=" 'contextmenu', 'automatic_addressbook',"
|
|||
|
||||
# Install CardDAV plugin
|
||||
if [[ $with_carddav -eq 1 ]]; then
|
||||
install_carddav "$final_path" \
|
||||
install_carddav "$final_path" admin \
|
||||
&& installed_plugins+=" 'carddav'," \
|
||||
|| echo "Unable to install CardDAV plugin" >&2
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue