mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Update install
This commit is contained in:
parent
a592303e78
commit
8dbaf2904f
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ oidc_secret=$(ynh_hex_32_random)
|
||||||
oidc_name="Outline"
|
oidc_name="Outline"
|
||||||
oidc_callback="$domain/auth/oidc.callback"
|
oidc_callback="$domain/auth/oidc.callback"
|
||||||
|
|
||||||
|
if yunohost app list | grep -q "$YNH_APP_ARG_DEX_DOMAIN"; then
|
||||||
|
ynh_die "The domain provided for Dex is already used by another app. Please chose another one !"
|
||||||
|
fi
|
||||||
|
|
||||||
yunohost app install https://github.com/YunoHost-Apps/dex_ynh --force --args "domain=$dex_domain&path=$dex_path&OIDC_name=$oidc_name&OIDC_secret=$oidc_secret&OIDC_callback=$oidc_callback"
|
yunohost app install https://github.com/YunoHost-Apps/dex_ynh --force --args "domain=$dex_domain&path=$dex_path&OIDC_name=$oidc_name&OIDC_secret=$oidc_secret&OIDC_callback=$oidc_callback"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue