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