From e3fc54c91aa8da196eec1fb7c43b1a20e4c91323 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 13 Oct 2020 23:44:01 +0200 Subject: [PATCH] fix --- scripts/_common.sh | 0 scripts/install | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 scripts/_common.sh diff --git a/scripts/_common.sh b/scripts/_common.sh new file mode 100644 index 0000000..e69de29 diff --git a/scripts/install b/scripts/install index 4e4741c..34ed633 100644 --- a/scripts/install +++ b/scripts/install @@ -28,6 +28,7 @@ app=$YNH_APP_INSTANCE_NAME # Retrieve arguments domain=$YNH_APP_ARG_DOMAIN +path_url=$YNH_APP_ARG_PATH path=$YNH_APP_ARG_PATH admin=$YNH_APP_ARG_ADMIN is_public=$YNH_APP_ARG_IS_PUBLIC @@ -53,7 +54,6 @@ ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=admin --value=$admin ynh_app_setting_set --app=$app --key=is_public --value=$is_public - # Check domain/path availability sudo yunohost app checkurl "${domain}${path}" -a "$app" \ || ynh_die "Path not available: ${domain}${path}"