From fbd9dd33173fb5f50b17476466b3375551d5cb86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 18 Mar 2023 22:42:06 +0100 Subject: [PATCH] Update install --- scripts/install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index bc0bd52..3fd736c 100755 --- a/scripts/install +++ b/scripts/install @@ -102,9 +102,8 @@ chown -R $app:www-data "$data_dir" #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -pushd $install_dir - password_hash=(echo $(./galene-password-generator $password)) -popd + +password_hash=$(echo $($install_dir/galene-password-generator $password)) # Configure Galène ynh_add_config --template="../conf/config.json" --destination="$install_dir/live/data/config.json"