mirror of
https://github.com/YunoHost-Apps/headscale_ynh.git
synced 2024-09-03 19:25:53 +02:00
Fix Dex install arguments
This commit is contained in:
parent
fce00dd2a0
commit
0ee30c5280
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ if yunohost app list | grep -q "$YNH_APP_ARG_DEX_DOMAIN$YNH_APP_ARG_DEX_PATH"; t
|
||||||
ynh_die "The domain and path provided for Dex is already used by another app. Please chose another one !"
|
ynh_die "The domain and path provided for Dex is already used by another app. Please chose another one !"
|
||||||
fi
|
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" 2>&1 | tee dexlog.txt
|
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" 2>&1 | tee dexlog.txt
|
||||||
dex_app=$(gawk 'match($0, /Installation of (.+) completed/, app) {print app[1]}' dexlog.txt)
|
dex_app=$(gawk 'match($0, /Installation of (.+) completed/, app) {print app[1]}' dexlog.txt)
|
||||||
rm dexlog.txt
|
rm dexlog.txt
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue