From 6cb41edc2b8ed13e275b3009792cc589ce07ac9c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 22 Jul 2021 20:14:55 +0200 Subject: [PATCH] Update install --- scripts/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index c890848..8a5ea13 100755 --- a/scripts/install +++ b/scripts/install @@ -109,7 +109,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Configuring Galette..." --weight=1 -ynh_add_config --template="../conf/config.inc.php.dist" --destination="$final_path/config/config.inc.php" +ynh_add_config --template="../conf/config.inc.php.dist" --destination="$final_path/galette/config/config.inc.php" # #================================================= # # Install PHP dependencies using composer @@ -124,13 +124,13 @@ ynh_add_config --template="../conf/config.inc.php.dist" --destination="$final_pa # SECURE FILES AND DIRECTORIES #================================================= -chmod u+rx $final_path/config -chmod g+rwx $final_path/config +chmod u+rx $final_path/galette/config +chmod g+rwx $final_path/galette/config for folder in attachments cache exports files imports logs photos templates_c tempimages do - chown $app $final_path/data/$folder - chmod g+rwx $final_path/data/$folder + chown $app $final_path/galette/data/$folder + chmod g+rwx $final_path/galette/data/$folder done #=================================================