From 95cb5edf913f8c338c29c9a6d0703f94d39dc9ef Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Fri, 15 Dec 2023 10:48:46 +0100 Subject: [PATCH] Update install add config.local.user.php --- scripts/install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 34521fc..045c2ae 100644 --- a/scripts/install +++ b/scripts/install @@ -18,7 +18,7 @@ ynh_app_setting_set --app=$app --key=secret_key --value=$secret_key ynh_script_progression --message="Setting up source files..." --weight=4 # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" +ynh_setup_source --dest_dir="$data_dir"data/ chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" @@ -47,9 +47,12 @@ ynh_script_progression --message="Adding a configuration file..." --weight=5 # Install configuration files ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php" +ynh_add_config --template="config.local.user.php" --destination="$install_dir/data/config.local.user.php" chmod 650 "$install_dir/config.local.php" chown $app:$app "$install_dir/config.local.php" +chmod 650 "$data_dir/data/config.local.user.php" +chown $app:$app "$data_dir/data/config.local.user.php" #================================================= # END OF SCRIPT