mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Update install
This commit is contained in:
parent
632c213954
commit
2efa3bf776
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ exec_occ ldap:test-config '' \
|
||||||
# Define a function to add an external storage
|
# Define a function to add an external storage
|
||||||
# Create the external storage for the given folders and enable sharing
|
# Create the external storage for the given folders and enable sharing
|
||||||
create_external_storage() {
|
create_external_storage() {
|
||||||
local data_dir/data="$1"
|
local data_dir="$1"
|
||||||
local mount_name="$2"
|
local mount_name="$2"
|
||||||
local mount_id=`exec_occ files_external:create --output=json \
|
local mount_id=`exec_occ files_external:create --output=json \
|
||||||
"$mount_name" 'local' 'null::null' -c "data_dir=$data_dir/data" || true`
|
"$mount_name" 'local' 'null::null' -c "data_dir=$data_dir/data" || true`
|
||||||
|
|
Loading…
Add table
Reference in a new issue