From 158c19ac6f566671e7e0581b92c816417e710d5d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 24 Apr 2019 00:20:56 +0200 Subject: [PATCH 1/2] remove read -p --- scripts/install | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/install b/scripts/install index c30abeba..511df465 100644 --- a/scripts/install +++ b/scripts/install @@ -13,10 +13,6 @@ source /usr/share/yunohost/helpers # MANAGE SCRIPT FAILURE #================================================= -ynh_clean_setup () { - ### Remove this function if there's nothing to clean before calling the remove script. - read -p "key" -} # Exit if an error occurs during the execution of the script ynh_abort_if_errors From 1c2b08f14d75fc43ece067106ec7cd1e2e9b56d7 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 24 Apr 2019 00:42:15 +0200 Subject: [PATCH 2/2] fix user admin for php7.2 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 17bc4fa1..7b5f5358 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ After being first registered, you need to execute the folloing command to promot **Run:** - $ (cd /var/www/pixelfed && php artisan user:admin 1) + $ (cd /var/www/pixelfed && php7.2 artisan user:admin 1) and respond yes to the question ` Add admin privileges to this user?`