Use ynh variable for install script

This commit is contained in:
Kayou
2019-02-27 21:00:17 +01:00
parent 3dd730607b
commit f5d3e45e9f

View File

@@ -38,8 +38,8 @@ ynh_abort_if_errors
#================================================= #=================================================
# Retrieve arguments # Retrieve arguments
domain=$1 domain=$YNH_APP_ARG_DOMAIN
path_url=$(ynh_normalize_url_path "$2") path_url=$(ynh_normalize_url_path "$YNH_APP_ARG_PATH")
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
final_path="/var/www/$app" final_path="/var/www/$app"