mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Update upgrade
This commit is contained in:
parent
94d52546ee
commit
c2d3b55aa1
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ create_external_storage() {
|
|||
local data_dir="$1"
|
||||
local mount_name="$2"
|
||||
local mount_id=$(exec_occ files_external:create --output=json \
|
||||
"$mount_name" 'local' 'null::null' -c "data_dir=$data_dir" || true)
|
||||
"$mount_name" 'local' 'null::null' -c "data_dir=$data_dir/data" || true)
|
||||
! [[ $mount_id =~ ^[0-9]+$ ]] \
|
||||
&& ynh_print_warn --message="Unable to create external storage" \
|
||||
|| exec_occ files_external:option "$mount_id" enable_sharing true
|
||||
|
|
Loading…
Add table
Reference in a new issue