From b52a0452eb8c60d6e189b1c5b986d8dd9efd15f6 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 25 Sep 2022 22:40:47 +0200 Subject: [PATCH] Update install --- scripts/install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index c8c3080..033c60c 100644 --- a/scripts/install +++ b/scripts/install @@ -94,6 +94,7 @@ ynh_script_progression --message="Setting up source files..." --weight=6 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" +ynh_add_config --template="../conf/composer.json" --destination="$final_path/scomposer.json" chmod 750 "$final_path" chmod -R o-rwx "$final_path" @@ -134,8 +135,6 @@ ynh_mysql_connect_as --user="$db_name" --password="$db_pwd" --database="$db_name #================================================= ynh_script_progression --message="Configuring phpMyAdmin..." --weight=2 -ynh_add_config --template="../conf/composer.json" --destination="$final_path/scomposer.json" - ynh_add_config --template="../conf/config.inc.php" --destination="$final_path/config.inc.php" # config.inc.php contains sensitive data, restrict its access chown $app: $final_path/config.inc.php