mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
5.8.1
This commit is contained in:
parent
18f1124667
commit
c4d98b5da0
4 changed files with 12 additions and 30 deletions
|
@ -1,11 +1,11 @@
|
||||||
;; Test complet sans multisite
|
;; Test complet sans multisite
|
||||||
; Manifest
|
; Manifest
|
||||||
domain="domain.tld" (DOMAIN)
|
domain="domain.tld"
|
||||||
path="/path" (PATH)
|
path="/path"
|
||||||
admin="john" (USER)
|
admin="john"
|
||||||
language="fr_FR"
|
language="fr_FR"
|
||||||
multisite=0
|
multisite=0
|
||||||
is_public=1 (PUBLIC|public=1|private=0)
|
is_public=1
|
||||||
; Actions
|
; Actions
|
||||||
is_public=0|1
|
is_public=0|1
|
||||||
; Config_panel
|
; Config_panel
|
||||||
|
@ -34,12 +34,12 @@
|
||||||
config_panel=1
|
config_panel=1
|
||||||
;; Test avec multisite
|
;; Test avec multisite
|
||||||
; Manifest
|
; Manifest
|
||||||
domain="domain.tld" (DOMAIN)
|
domain="domain.tld"
|
||||||
path="/path" (PATH)
|
path="/path"
|
||||||
admin="john" (USER)
|
admin="john"
|
||||||
language="fr_FR"
|
language="fr_FR"
|
||||||
multisite=1
|
multisite=1
|
||||||
is_public=1 (PUBLIC|public=1|private=0)
|
is_public=1
|
||||||
; Checks
|
; Checks
|
||||||
setup_sub_dir=1
|
setup_sub_dir=1
|
||||||
setup_root=0
|
setup_root=0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://wordpress.org/wordpress-5.8.tar.gz
|
SOURCE_URL=https://wordpress.org/wordpress-5.8.1.tar.gz
|
||||||
SOURCE_SUM=d29813ab55361318f519f2a8fa6631126a0a8f91ac30f62cb6002c108577e87f
|
SOURCE_SUM=90ca90c4afa37dadc8a4743b5cb111b20cda5f983ce073c2c0bebdce64fa822a
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
ARCH_FORMAT=tar.gz
|
ARCH_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Create a beautiful blog or website easily",
|
"en": "Create a beautiful blog or website easily",
|
||||||
"fr": "Logiciel de création de blog ou de site Web"
|
"fr": "Logiciel de création de blog ou de site Web"
|
||||||
},
|
},
|
||||||
"version": "5.8~ynh1",
|
"version": "5.8.1~ynh1",
|
||||||
"url": "https://wordpress.org/",
|
"url": "https://wordpress.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-2.0",
|
"license": "GPL-2.0",
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
"email": "maniackc_dev@crudelis.fr"
|
"email": "maniackc_dev@crudelis.fr"
|
||||||
}],
|
}],
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.1.2"
|
"yunohost": ">= 4.2.4"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
@ -37,29 +37,17 @@
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain",
|
||||||
"ask": {
|
|
||||||
"en": "Choose a domain for WordPress",
|
|
||||||
"fr": "Choisissez un domaine pour WordPress"
|
|
||||||
},
|
|
||||||
"example": "domain.org"
|
"example": "domain.org"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path",
|
"name": "path",
|
||||||
"type": "path",
|
"type": "path",
|
||||||
"ask": {
|
|
||||||
"en": "Choose a path for WordPress",
|
|
||||||
"fr": "Choisissez un chemin pour WordPress"
|
|
||||||
},
|
|
||||||
"example": "/blog",
|
"example": "/blog",
|
||||||
"default": "/blog"
|
"default": "/blog"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"type": "user",
|
"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"
|
"example": "john"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -84,10 +72,6 @@
|
||||||
{
|
{
|
||||||
"name": "is_public",
|
"name": "is_public",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"ask": {
|
|
||||||
"en": "Is it a public WordPress site?",
|
|
||||||
"fr": "Est-ce un site public ?"
|
|
||||||
},
|
|
||||||
"default": true,
|
"default": true,
|
||||||
"help": {
|
"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.",
|
"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.",
|
||||||
|
|
|
@ -38,8 +38,6 @@ fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating restoration parameters..."
|
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 \
|
test ! -d $final_path \
|
||||||
|| ynh_die --message="There is already a directory: $final_path "
|
|| ynh_die --message="There is already a directory: $final_path "
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue