From 594396cab02ec5715a8b4e8618348c3d5edcbdd0 Mon Sep 17 00:00:00 2001 From: lapineige Date: Mon, 12 Jun 2023 18:00:13 +0200 Subject: [PATCH] =?UTF-8?q?Testing=20:=20fix=20=E2=89=A50.11.5=20installs?= =?UTF-8?q?=20(#222)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar --- README.md | 2 +- README_fr.md | 2 +- manifest.toml | 4 ++-- scripts/install | 8 ++++++++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cc5bb58d..f1bd5c9d 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ In addition to taking over the functionality of Instagram, the functioning of Pi It is also possible to import your data from Instagram. -**Shipped version:** 0.11.8~ynh2 +**Shipped version:** 0.11.8~ynh3 ## Screenshots diff --git a/README_fr.md b/README_fr.md index cd25629c..c1037218 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,7 +26,7 @@ En plus de reprendre les fonctionnalités d'Instagram, le fonctionnement de Pixe Il est également possible d'importer ses données depuis Instagram. -**Version incluse :** 0.11.8~ynh2 +**Version incluse :** 0.11.8~ynh3 ## Captures d’écran diff --git a/manifest.toml b/manifest.toml index a8e3007b..956a1276 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,9 +5,9 @@ name = "Pixelfed" description.en = "ActivityPub Federated Image Sharing" description.fr = "Logiciel de partage d'image fédéré via ActivityPub" -version = "0.11.8~ynh2" +version = "0.11.8~ynh3" -maintainers = ["yalh76", "lapineige"] +maintainers = ["yalh76", "Lapineige"] [upstream] license = "AGPL-3.0-or-later" diff --git a/scripts/install b/scripts/install index 940ed481..e89873f7 100644 --- a/scripts/install +++ b/scripts/install @@ -135,6 +135,14 @@ ynh_script_progression --message="Configuring log rotation..." --weight=1 ynh_use_logrotate --logfile="/var/log/$app/${app}-horizon.log" ynh_use_logrotate --logfile="/var/www/$app/storage/logs/laravel.log" +#================================================= +# PATCH PERMISSIONS for v0.11.5 versions and higher +#================================================= +ynh_script_progression --message="Patching permissions (for version 0.11.5 and newer)..." --weight=1 + +# Default configuration doesn't work +ynh_replace_string --match_string="'private' => 0700," --replace_string="'private' => 0750," --target_file=$install_dir/config/filesystems.php + #================================================= # INTEGRATE SERVICE IN YUNOHOST #=================================================