mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update install
This commit is contained in:
parent
d126b6a8b5
commit
541928cad7
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,6 @@ sandboxdomain=sandbox-$domain
|
||||||
if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||||
yunohost domain add $sandboxdomain
|
yunohost domain add $sandboxdomain
|
||||||
yunohost domain config set $sandboxdomain -a "mail_in=0&mail_out=0"
|
yunohost domain config set $sandboxdomain -a "mail_in=0&mail_out=0"
|
||||||
ynh_webpath_register --app=$app_1 --domain=$sandboxdomain --path_url=$path_url
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -186,6 +185,7 @@ if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||||
ynh_permission_url --permission="main" --add_url=$sandboxdomain --auth_header=true
|
ynh_permission_url --permission="main" --add_url=$sandboxdomain --auth_header=true
|
||||||
# there is a bug in core that add a slash at the end of domain in ssowat conf for uris var
|
# there is a bug in core that add a slash at the end of domain in ssowat conf for uris var
|
||||||
# so we use ${sandboxdomain%/} to remove the eccessive trailing slash
|
# so we use ${sandboxdomain%/} to remove the eccessive trailing slash
|
||||||
|
ynh_read_var_in_file --file="/etc/ssowat/conf.json" --key="uris"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue