From 5371b1c18585c358b639208598c27b1a167390c9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 13 Mar 2022 07:32:20 +0100 Subject: [PATCH] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 0107276..99c4a1d 100755 --- a/scripts/install +++ b/scripts/install @@ -28,7 +28,7 @@ path_url="/" admin=$YNH_APP_ARG_ADMIN is_public=$YNH_APP_ARG_IS_PUBLIC registration=$YNH_APP_ARG_REGISTRATION -random_key=$(ynh_string_random 32) +random_key=$(ynh_string_random --length=32) phpversion=$YNH_PHP_VERSION app=$YNH_APP_INSTANCE_NAME @@ -135,7 +135,7 @@ setfacl -R -m g:"www-data":rwX -m u:$app:rwX "$final_path/var/" #================================================= ynh_script_progression --message="Adding a configuration file..." -if [ $registration -eq 1 ]; then +if [ $registration -eq 1 ]; then registration="true" else registration="false"