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
a0ede43e31
commit
4fd449669b
1 changed files with 3 additions and 3 deletions
|
@ -71,15 +71,15 @@ ynh_app_setting_set --app=$app --key=porti --value=$porti
|
|||
#=================================================
|
||||
|
||||
# if the main domain for the app is a root domain, we create a correct sandbox subdomain
|
||||
if [ $domain == *"."* ]; then
|
||||
if [[ $domain == *"."* ]]; then
|
||||
sandboxdomain=sandbox.$domain
|
||||
fi
|
||||
# if the main domain for the app is already a sub-domain, we create a correct sandbox domain
|
||||
if [ $domain == *"."*"."* ]; then
|
||||
if [[ $domain == *"."*"."* ]]; then
|
||||
sandboxdomain=sandbox-$domain
|
||||
fi
|
||||
# if the main domain for the app is a .local root domain, we create a correct sandbox subdomain
|
||||
if [ $domain == *".local" ]; then
|
||||
if [[ $domain == *".local" ]]; then
|
||||
sandboxdomain=sandbox-$domain
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue