diff --git a/manifest.json b/manifest.json index 21e42f4..0cb3d5d 100644 --- a/manifest.json +++ b/manifest.json @@ -23,7 +23,7 @@ "url": "https://decentral1.se/" }, "requirements": { - "yunohost": ">= 4.1.3" + "yunohost": ">= 4.3.0" }, "multi_instance": false, "services": [ @@ -33,8 +33,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "is_public", diff --git a/scripts/install b/scripts/install index 8296430..9cf78db 100755 --- a/scripts/install +++ b/scripts/install @@ -34,9 +34,9 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Validating installation parameters..." -test ! -e /usr/share/$app-web || ynh_die --message="Mailman3 is already installed !" +test ! -e /usr/share/$app-web || ynh_die --message="Mailman3 is already installed!" -test ! -e /etc/$app || ynh_die --message="Mailman3 is already installed !" +test ! -e /etc/$app || ynh_die --message="Mailman3 is already installed!" # Register (book) web path ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url diff --git a/scripts/restore b/scripts/restore index 8653031..368276c 100755 --- a/scripts/restore +++ b/scripts/restore @@ -39,8 +39,6 @@ db_user_web=$db_name_web #================================================= ynh_script_progression --message="Validating restoration parameters..." -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d /usr/share/mailman3-web \ || ynh_die --message="There is already an installation present at /usr/share/mailman3-web?"