From f6928aa3bc89cb7c567641a3f4c1aefcc6ee4b76 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 13 Jan 2021 16:23:08 +0100 Subject: [PATCH 1/3] add php-gd as a dependency --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 7e37d84..2828d4e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,7 +6,7 @@ YNH_PHP_VERSION="7.2" -extra_php_dependencies="php${YNH_PHP_VERSION}-sqlite3 php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-xml" +extra_php_dependencies="php${YNH_PHP_VERSION}-sqlite3 php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-gd" #================================================= # EXPERIMENTAL HELPERS From 654db6194eb77b49a787988fdccfe7830d63631b Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 13 Jan 2021 17:02:59 +0100 Subject: [PATCH 2/3] create the folder plugins/auto --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 6c24bd6..3d07478 100644 --- a/scripts/install +++ b/scripts/install @@ -106,6 +106,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies" #================================================= # Set right permissions for curl install +mkdir -p $final_path/plugins/auto chown -R $app: $final_path # Set the app as temporarily public for curl call diff --git a/scripts/upgrade b/scripts/upgrade index 16053b5..0f2af86 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -143,6 +143,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies" #================================================= # Set right permissions for curl install +mkdir -p $final_path/plugins/auto chown -R $app: $final_path # Set the app as temporarily public for curl call From 83fef1b8e504dfe2f52c86716397552010b2bdaf Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 13 Jan 2021 17:04:02 +0100 Subject: [PATCH 3/3] bump package version --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 704aaed..08310db 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "CMS with a focus on collaborative edition and multilingualism", "fr": "CMS conçu pour l'édition collaborative et le multilinguisme" }, - "version": "3.2.8~ynh1", + "version": "3.2.8~ynh2", "url": "http://www.spip.net/", "license": "GPL-3.0-or-later", "maintainer": {