From 88eb519f3c0b72cc58fcacdca9d7276ca503cc2a Mon Sep 17 00:00:00 2001 From: wbk Date: Tue, 4 Mar 2025 18:56:57 +0000 Subject: [PATCH] Update scripts/install ynh_curl_local once more --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 8ed5822..cdd1042 100755 --- a/scripts/install +++ b/scripts/install @@ -60,7 +60,7 @@ app_key=$(cat $install_dir/.env | grep -e ^APP_KEY | cut -c 9-) ynh_app_setting_set --key=app_key --value=$app_key # group only, make it www-data vs user/group $app:www-data -chgrp "www-data" -R "https://$domain/$path/register" "$install_dir/public" +chgrp "www-data" -R "$install_dir/storage" "$install_dir/public" chmod -R 2775 "$install_dir/storage" "$install_dir/app" "$install_dir/public" "$install_dir/bootstrap/" #================================================= @@ -69,7 +69,7 @@ chmod -R 2775 "$install_dir/storage" "$install_dir/app" "$install_dir/public" "$ ynh_script_progression "Finalizing installation..." # Installation with curl: set up the first/single user -ynh_local_curl "/index.php/register" "name=$user" "email=$email" "password=$password" "password_confirmation=$password" +ynh_local_curl "https://$domain/$path/register" "name=$user" "email=$email" "password=$password" "password_confirmation=$password" #================================================= # END OF SCRIPT