From ebf524db0ccec06cfd7e95e268b44cd0293d3f99 Mon Sep 17 00:00:00 2001 From: Gofannon <17145502+Gofannon@users.noreply.github.com> Date: Thu, 13 Sep 2018 22:48:04 +0200 Subject: [PATCH 1/2] =?UTF-8?q?[fix]=20pictures=20in=20"Mes=20annonces=20s?= =?UTF-8?q?auvegard=C3=A9es"=20tab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://forum.yunohost.org/t/cheky-new-name-of-lbcalerte/4895/7 --- manifest.json | 2 +- scripts/install | 6 ++++-- scripts/upgrade | 6 ++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 6a42ac3..152c8c0 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Cheky package for YunoHost.", "fr": "Application Cheky pour YunoHost." }, - "version": "4.3.3~ynh2", + "version": "4.3.3~ynh3", "url": "https://www.cheky.net", "license": "GPL-3.0-or-later", "maintainer": { diff --git a/scripts/install b/scripts/install index 9b7f652..a136bd9 100644 --- a/scripts/install +++ b/scripts/install @@ -157,8 +157,10 @@ fi # Set permissions to app files chown -R root: $final_path -# Only path that needs to be writable by cheky -chown -R $app: $final_path/var + +# Folders that needs to be writable by cheky +chown -R $app: $final_path/var # requirement in official documentation +chown -R $app: $final_path/static/media/annonce # needed for "Mes annonces sauvegardées" tab #================================================= # SETUP SSOWAT diff --git a/scripts/upgrade b/scripts/upgrade index abea0d3..2812d0c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -126,8 +126,10 @@ fi # Set permissions to app files chown -R root: $final_path -# Only path that needs to be writable by cheky -chown -R $app: $final_path/var + +# Folders that needs to be writable by cheky +chown -R $app: $final_path/var # requirement in official documentation +chown -R $app: $final_path/static/media/annonce # needed for "Mes annonces sauvegardées" tab #================================================= # SETUP SSOWAT From e529e1bfc1413afa7e2a22b9823d39b083b7dc99 Mon Sep 17 00:00:00 2001 From: Gofannon <17145502+Gofannon@users.noreply.github.com> Date: Thu, 13 Sep 2018 22:49:14 +0200 Subject: [PATCH 2/2] [enh] remove unused code --- scripts/remove | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/remove b/scripts/remove index ddc4547..37d1c83 100644 --- a/scripts/remove +++ b/scripts/remove @@ -50,16 +50,6 @@ ynh_remove_nginx_config # Remove the dedicated php-fpm config ynh_remove_fpm_config -#================================================= -# CLOSE A PORT -#================================================= - -if yunohost firewall list | grep -q "\- $port$" -then - echo "Close port $port" - yunohost firewall disallow TCP $port 2>&1 -fi - #================================================= # SPECIFIC REMOVE #=================================================