diff --git a/manifest.json b/manifest.json index 5f31cd4..5325c71 100644 --- a/manifest.json +++ b/manifest.json @@ -20,19 +20,6 @@ "services": [], "arguments": { "install" : [ - { - "name": "domain", - "type": "domain", - "ask": { - "en": "Choose a domain name for Matterbridge", - "fr": "Choisissez un nom de domaine pour Matterbridge" - }, - "help": { - "en": "Matterbridge needs to be installed in its own root domain or subdomain.", - "fr": "Matterbridge doit ĂȘtre installĂ© dans son propre domaine racine ou sous-domaine." - }, - "example": "matterbridge.example.com" - } ] } } diff --git a/scripts/install b/scripts/install index 00b1e84..41eb4b3 100644 --- a/scripts/install +++ b/scripts/install @@ -20,7 +20,6 @@ ynh_abort_if_errors #================================================= # Retrieve arguments -domain=$YNH_APP_ARG_DOMAIN architecture=$(ynh_detect_arch) app=$YNH_APP_INSTANCE_NAME @@ -33,12 +32,6 @@ ynh_script_progression --message="Validating installation parameters..." --weigh final_path=/opt/yunohost/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" -# STORE SETTINGS FROM MANIFEST -#================================================= -ynh_script_progression --message="Storing installation settings..." --weight=1 - -ynh_app_setting_set --app=$app --key=domain --value=$domain - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= diff --git a/scripts/remove b/scripts/remove index 5dc3528..ad14bd1 100644 --- a/scripts/remove +++ b/scripts/remove @@ -16,7 +16,6 @@ ynh_script_progression --message="Loading installation settings..." --weight=1 app=$YNH_APP_INSTANCE_NAME -domain=$(ynh_app_setting_get --app=$app --key=domain) final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= diff --git a/scripts/restore b/scripts/restore index 1416802..6eeec54 100644 --- a/scripts/restore +++ b/scripts/restore @@ -22,7 +22,6 @@ ynh_script_progression --message="Loading installation settings..." --weight=1 app=$YNH_APP_INSTANCE_NAME -domain=$(ynh_app_setting_get --app=$app --key=domain) final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 8d18854..ea67284 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -16,7 +16,6 @@ ynh_script_progression --message="Loading installation settings..." --weight=1 app=$YNH_APP_INSTANCE_NAME -domain=$(ynh_app_setting_get --app=$app --key=domain) final_path=$(ynh_app_setting_get --app=$app --key=final_path) architecture=$(ynh_detect_arch)