From fa55e698c4cb4f6fb76adc1d8d1a9d2de06d4e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 7 Jul 2023 10:14:50 +0200 Subject: [PATCH] Testing (#126) * restart config panel * Update manifest.toml * Standard (#119) * fix * Update manifest.toml * Update manifest.toml * Update POST_INSTALL.md * Update POST_INSTALL_fr.md * fix * Update manifest.toml * Auto-update README * Update tests.toml * Update tests.toml * remove standard * Update manifest.toml * Auto-update README * Update tests.toml * Update manifest.toml * Update manifest.toml * Update install * Update manifest.toml * Auto-update README * Update manifest.toml * Auto-update README * cleaning * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot --- README.md | 2 +- README_fr.md | 2 +- manifest.toml | 2 +- scripts/_common.sh | 2 +- scripts/install | 4 +++- scripts/upgrade | 1 + 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 73e9c9c..1eb60b2 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out - Diagrams.net Integration -**Shipped version:** 23.06.1~ynh1 +**Shipped version:** 23.06.1~ynh2 **Demo:** https://demo.bookstackapp.com diff --git a/README_fr.md b/README_fr.md index eecfbf9..b65c900 100644 --- a/README_fr.md +++ b/README_fr.md @@ -27,7 +27,7 @@ BookStack est un système wiki simple prête à l'emploi. Les nouveaux utilisate - Multilingue -**Version incluse :** 23.06.1~ynh1 +**Version incluse :** 23.06.1~ynh2 **Démo :** https://demo.bookstackapp.com diff --git a/manifest.toml b/manifest.toml index 70b33c1..5dfe325 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "BookStack" description.en = "Platform to create documentation/wiki content" description.fr = "Plateforme pour créer du contenu de documentation/wiki" -version = "23.06.1~ynh1" +version = "23.06.1~ynh2" maintainers = ["eric_G"] diff --git a/scripts/_common.sh b/scripts/_common.sh index a6dc845..d387e9f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -YNH_COMPOSER_VERSION=2.4.2 +YNH_COMPOSER_VERSION=2.5.8 #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 5bc5ef2..8a23e4d 100644 --- a/scripts/install +++ b/scripts/install @@ -39,6 +39,8 @@ ynh_setup_source --dest_dir="$install_dir" # Set permissions to app files chmod -R o-rwx $install_dir +chmod -R 775 $install_dir/storage $install_dir/bootstrap/cache $install_dir/public/uploads + chown -R $app:www-data $install_dir #================================================= @@ -74,7 +76,7 @@ app_url_domain="https://$domain${path%/}" ynh_add_config --template=../conf/.env.example --destination=$install_dir/.env -chmod 600 $install_dir/.env +chmod 640 $install_dir/.env chown $app:$app $install_dir/.env #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 4602a18..0d5d5d1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,6 +51,7 @@ then fi chmod -R o-rwx $install_dir +chmod -R 775 $install_dir/storage $install_dir/bootstrap/cache $install_dir/public/uploads chown -R $app:www-data $install_dir #=================================================