forked from ungleich-public/cdist-contrib
__nextcloud: add --data-directory to config
This commit is contained in:
parent
0a0e4d26b4
commit
3db4dcc6ea
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue