From 83d87a728c67c12f107d7105f77376778e080673 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Mon, 19 Jun 2017 00:15:43 +0200 Subject: [PATCH] [fix] install carddav plugin correctly --- scripts/_common.sh | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 3d1d0c9..1992688 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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" diff --git a/scripts/install b/scripts/install index 99659cc..0a630e7 100644 --- a/scripts/install +++ b/scripts/install @@ -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