From c64e22984066ec083a9dc727c05f18ea8d27a4c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 9 May 2021 21:08:29 +0200 Subject: [PATCH] upgrade to version 21.04.4 (#26) * upgrade to version 21.04.4 --- README.md | 2 +- README_fr.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- scripts/install | 5 +++-- scripts/restore | 5 +++-- scripts/upgrade | 5 +++-- 7 files changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5cdd597..4e9fda9 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ BookStack is a simple, self-hosted, easy-to-use platform for organising and stor BookStack is built using PHP, on top of the Laravel framework and it uses MySQL to store data. -**Shipped version:** 21.04.3 +**Shipped version:** 21.04.4 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 2e6766d..cbb5456 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) ## Overview BookStack est une plate-forme simple, auto-hébergée et facile à utiliser pour organiser et stocker des informations. -**Version incluse :** 21.04.3 +**Version incluse :** 21.04.4 ## Screenshots diff --git a/conf/app.src b/conf/app.src index 6fab4a3..77098a4 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/BookStackApp/BookStack/archive/refs/tags/v21.04.3.tar.gz -SOURCE_SUM=5c2bfa20c0226587d552c76f33593ed9bfe2d5db36243320790cafa12041a09d +SOURCE_URL=https://github.com/BookStackApp/BookStack/archive/refs/tags/v21.04.4.tar.gz +SOURCE_SUM=c8b4a13596f0d4c9992594b79a0bd8e911efb483ebb1eb06895d50edd40a583e SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index d841077..983b16a 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Platform to create documentation/wiki content", "fr": "Plateforme pour créer du contenu de documentation/wiki " }, - "version": "21.04.3~ynh1", + "version": "21.04.4~ynh1", "url": "https://www.bookstackapp.com/", "license": "MIT", "maintainer": { diff --git a/scripts/install b/scripts/install index 9fcb0a8..cb8e47c 100644 --- a/scripts/install +++ b/scripts/install @@ -123,8 +123,9 @@ popd #================================================= # Set permissions to app files -chown -R $app: $final_path -chmod -R 755 $final_path +chmod 755 $final_path +chown -R $app:www-data $final_path +chmod -R o-rwx $final_path chmod 600 $final_path/.env #================================================= diff --git a/scripts/restore b/scripts/restore index d373002..3c96378 100644 --- a/scripts/restore +++ b/scripts/restore @@ -67,8 +67,9 @@ ynh_restore_file --origin_path="$final_path" #================================================= # Restore permissions on app files -chown -R $app: $final_path -chmod -R 755 $final_path +chmod 755 $final_path +chown -R $app:www-data $final_path +chmod -R o-rwx $final_path chmod 600 $final_path/.env #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 00e9101..901c749 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -122,8 +122,9 @@ popd #================================================= # Set permissions on app files -chown -R $app: $final_path -chmod -R 755 $final_path +chmod 755 $final_path +chown -R $app:www-data $final_path +chmod -R o-rwx $final_path chmod 600 $final_path/.env #=================================================