From 3db4dcc6eab1b8f676f01a32c4bcde2d03685b34 Mon Sep 17 00:00:00 2001 From: Matthias Stecher Date: Sat, 24 Oct 2020 11:58:16 +0200 Subject: [PATCH] __nextcloud: add --data-directory to config --- type/__nextcloud/gencode-remote | 2 +- type/__nextcloud/map-conf-changes.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/type/__nextcloud/gencode-remote b/type/__nextcloud/gencode-remote index e0317c1..9da3b86 100755 --- a/type/__nextcloud/gencode-remote +++ b/type/__nextcloud/gencode-remote @@ -155,7 +155,7 @@ if ! grep -q -F "installed = 1" "$__object/explorer/config"; then fi # Data directory - datadir="$__object/parameter/datadir" + datadir="$__object/parameter/data-directory" if [ -f "$datadir" ]; then occ_install_args="$occ_install_args --data-dir '$(cat "$datadir")'" fi diff --git a/type/__nextcloud/map-conf-changes.sh b/type/__nextcloud/map-conf-changes.sh index f107f5f..ddda9c8 100755 --- a/type/__nextcloud/map-conf-changes.sh +++ b/type/__nextcloud/map-conf-changes.sh @@ -197,4 +197,7 @@ if [ -z "$install" ]; then conf_string database-user dbuser conf_string database-password dbpassword conf_string database-prefix dbtableprefix + + # data-dir + conf_string data-directory datadirectory fi