From 742e046f9161d1af83e4691bde2d6337b7a4a0cd Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 5 Feb 2019 20:40:19 +0100 Subject: [PATCH 1/2] Cleaning --- README.md | 4 +--- scripts/change_url | 3 ++- scripts/install | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dc23b38..25aa9fc 100644 --- a/README.md +++ b/README.md @@ -48,12 +48,10 @@ Depending of the configuration, the app be used by multiple users * x86-64b - [![Build Status](https://ci-apps.yunohost.org/ci/logs/writefreely%20%28Community%29.svg)](https://ci-apps.yunohost.org/ci/apps/writefreely/) * ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/writefreely%20%28Community%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/writefreely/) **Not supported** * Jessie x86-64b - [![Build Status](https://ci-stretch.nohost.me/ci/logs/writefreely%20%28Community%29.svg)](https://ci-stretch.nohost.me/ci/apps/writefreely/) -* Testing x86-64b - [![Build Status](https://ci-apps-unstable.yunohost.org/ci/logs/writefreely%20%28Community%29%20%28testing%29.svg)](https://ci-apps-unstable.yunohost.org/ci/apps/writefreely/) -* Unstable x86-64b - [![Build Status](https://ci-apps-unstable.yunohost.org/ci/logs/writefreely%20%28Community%29%20%28unstable%29.svg)](https://ci-apps-unstable.yunohost.org/ci/apps/writefreely/) ## Limitations -* Any known limitations. +* No known limitations. ## Links diff --git a/scripts/change_url b/scripts/change_url index ff6fa1b..a423c5f 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -120,7 +120,8 @@ ynh_systemd_action --action=start --service_name=$app #================================================= # STORE THE CONFIG FILE CHECKSUM #================================================= -fy the checksum of a file, stored by `ynh_store_file_checksum` in the install script. + +### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. ### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it. ynh_backup_if_checksum_is_different "$final_path/config.ini" # Recalculate and store the checksum of the file for the next upgrade. diff --git a/scripts/install b/scripts/install index 6318705..2cfa69a 100755 --- a/scripts/install +++ b/scripts/install @@ -76,7 +76,7 @@ app=$YNH_APP_INSTANCE_NAME ### If the app uses nginx as web server (written in HTML/PHP in most cases), the final path should be "/var/www/$app". ### If the app provides an internal web server (or uses another application server such as uwsgi), the final path should be "/opt/yunohost/$app" -final_path="/var/www/$app" +final_path=/var/www/$app test ! -e "$final_path" || ynh_die "This path already contains a folder" # Normalize the url path syntax From f951ca8094c77282dfa3c9451dc93a6913966d7f Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 5 Feb 2019 21:28:57 +0100 Subject: [PATCH 2/2] Update version after some changes --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 67083ed..ed1647b 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Write Freely is free and open source software for starting a minimalist, federated blog — or an entire community.", "fr": "Write Freely est un logiciel gratuit et à code source ouvert permettant de créer un blog fédéré minimaliste ou une communauté entière." }, - "version": "0.8.1~ynh1", + "version": "0.8.1~ynh2", "url": "https://writefreely.org", "license": "free", "maintainer": {