From f031803134ba76ebbcfa1371e7423e9cb4e26231 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 6 Jul 2021 11:04:02 +0200 Subject: [PATCH] Update install --- scripts/install | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 3d25432..ce2a81d 100644 --- a/scripts/install +++ b/scripts/install @@ -102,11 +102,8 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Adding a configuration file..." --time --weight=1 -ynh_add_config --template="../conf/config.dist.php" --destination="$final_path/some_config_file" +ynh_add_config --template="../conf/config.dist.php" --destination="$final_path/config.php" -# FIXME: this should be handled by the core in the future -# You may need to use chmod 600 instead of 400, -# for example if the app is expected to be able to modify its own config chmod 400 "$final_path/some_config_file" chown $app:$app "$final_path/some_config_file"