diff --git a/check_process b/check_process index 8f4b0cf..9913b17 100644 --- a/check_process +++ b/check_process @@ -1,11 +1,11 @@ ;; Test complet sans multisite ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - admin="john" (USER) + domain="domain.tld" + path="/path" + admin="john" language="fr_FR" multisite=0 - is_public=1 (PUBLIC|public=1|private=0) + is_public=1 ; Actions is_public=0|1 ; Config_panel @@ -34,12 +34,12 @@ config_panel=1 ;; Test avec multisite ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - admin="john" (USER) + domain="domain.tld" + path="/path" + admin="john" language="fr_FR" multisite=1 - is_public=1 (PUBLIC|public=1|private=0) + is_public=1 ; Checks setup_sub_dir=1 setup_root=0 diff --git a/conf/app.src b/conf/app.src index c695ce3..9dbea46 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://wordpress.org/wordpress-5.8.tar.gz -SOURCE_SUM=d29813ab55361318f519f2a8fa6631126a0a8f91ac30f62cb6002c108577e87f +SOURCE_URL=https://wordpress.org/wordpress-5.8.1.tar.gz +SOURCE_SUM=90ca90c4afa37dadc8a4743b5cb111b20cda5f983ce073c2c0bebdce64fa822a SOURCE_SUM_PRG=sha256sum ARCH_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 5dbaa42..7b0789d 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Create a beautiful blog or website easily", "fr": "Logiciel de crĂ©ation de blog ou de site Web" }, - "version": "5.8~ynh1", + "version": "5.8.1~ynh1", "url": "https://wordpress.org/", "upstream": { "license": "GPL-2.0", @@ -24,7 +24,7 @@ "email": "maniackc_dev@crudelis.fr" }], "requirements": { - "yunohost": ">= 4.1.2" + "yunohost": ">= 4.2.4" }, "multi_instance": true, "services": [ @@ -37,29 +37,17 @@ { "name": "domain", "type": "domain", - "ask": { - "en": "Choose a domain for WordPress", - "fr": "Choisissez un domaine pour WordPress" - }, "example": "domain.org" }, { "name": "path", "type": "path", - "ask": { - "en": "Choose a path for WordPress", - "fr": "Choisissez un chemin pour WordPress" - }, "example": "/blog", "default": "/blog" }, { "name": "admin", "type": "user", - "ask": { - "en": "Choose the WordPress administrator (must be an existing YunoHost user)", - "fr": "Administrateur du site (doit ĂȘtre un utilisateur YunoHost existant)" - }, "example": "john" }, { @@ -84,10 +72,6 @@ { "name": "is_public", "type": "boolean", - "ask": { - "en": "Is it a public WordPress site?", - "fr": "Est-ce un site public ?" - }, "default": true, "help": { "en": "A public WordPress will be publicly visible for everyone. If you're looking for a public blog, you should choose to install a public WordPress.", diff --git a/scripts/restore b/scripts/restore index 7672833..bde343a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -38,8 +38,6 @@ fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage) #================================================= 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 $final_path \ || ynh_die --message="There is already a directory: $final_path "