__nextcloud: add --data-directory to config

This commit is contained in:
matze 2020-10-24 11:58:16 +02:00
parent 0a0e4d26b4
commit 3db4dcc6ea
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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