diff --git a/README.md b/README.md index 73417a61..3b36507a 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,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.4~ynh3 +**Shipped version:** 0.11.4~ynh4 ## Screenshots @@ -42,7 +42,7 @@ After being first registered, you need to execute the folloing command to promot **Run:** - $ sudo php7.4 /var/www/pixelfed/artisan user:admin 1 + $ sudo php8.0 /var/www/pixelfed/artisan user:admin 1 and respond yes to the question ` Add admin privileges to this user?`. diff --git a/README_fr.md b/README_fr.md index ccb3d76f..db1f684f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -25,7 +25,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.4~ynh3 +**Version incluse :** 0.11.4~ynh4 ## Captures d'écran @@ -43,7 +43,7 @@ Après avoir été enregistré pour la première fois, vous devez exécuter la c **Entrez la commande:** - $ php7.4 /var/www/pixelfed/artisan user:admin 1 + $ php8.0 /var/www/pixelfed/artisan user:admin 1 et répondez oui à la question « Ajouter des privilèges d'administrateur à cet utilisateur ? » diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 39be44ec..20ec496a 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -8,7 +8,7 @@ After being first registered, you need to execute the folloing command to promot **Run:** - $ sudo php7.4 /var/www/pixelfed/artisan user:admin 1 + $ sudo php8.0 /var/www/pixelfed/artisan user:admin 1 and respond yes to the question ` Add admin privileges to this user?`. diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index c9435ae6..05427d14 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -8,7 +8,7 @@ Après avoir été enregistré pour la première fois, vous devez exécuter la c **Entrez la commande:** - $ php7.4 /var/www/pixelfed/artisan user:admin 1 + $ php8.0 /var/www/pixelfed/artisan user:admin 1 et répondez oui à la question « Ajouter des privilèges d'administrateur à cet utilisateur ? » diff --git a/manifest.json b/manifest.json index ce84ce25..68c7cafc 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "ActivityPub Federated Image Sharing", "fr": "Logiciel de partage d'image fédéré via ActivityPub" }, - "version": "0.11.4~ynh3", + "version": "0.11.4~ynh4", "url": "https://pixelfed.org/", "upstream": { "license": "AGPL-3.0-or-later", diff --git a/scripts/install b/scripts/install index 2d98ec8d..cf94b71f 100644 --- a/scripts/install +++ b/scripts/install @@ -125,7 +125,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Installing composer dependencies..." --weight=1 -ynh_exec_warn_less ynh_install_composer --phpversion="$phpversion" --workdir="$final_path" +ynh_exec_warn_less ynh_install_composer --phpversion="$phpversion" --composerversion="$YNH_COMPOSER_VERSION" --workdir="$final_path" #================================================= # CREATE LOG FILE diff --git a/scripts/upgrade b/scripts/upgrade index b831e1d2..862c6df5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -183,6 +183,10 @@ ynh_add_nginx_config #================================================= # UPDATE COMPOSER DEPENDENCIES #================================================= +ynh_script_progression --message="Updating composer..." --weight=1 + +ynh_exec_warn_less ynh_composer_exec --workdir="$final_path" --commands="self-update" + ynh_script_progression --message="Updating composer dependencies..." --weight=1 ynh_exec_warn_less ynh_composer_exec --workdir="$final_path" --commands="update"