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 #=================================================