From 025398dd1a97631c3c7271d5497e34f3be909e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 2 Oct 2023 16:41:56 +0200 Subject: [PATCH] Update install --- scripts/install | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 2d4b2e3..ed4a2ef 100644 --- a/scripts/install +++ b/scripts/install @@ -55,8 +55,6 @@ EOF ynh_script_progression --message="Download source files..." --weight=10 ynh_setup_source --dest_dir="$install_dir" -touch $install_dir/htdocs/conf/conf.php - #================================================= # PHP-FPM CONFIGURATION #================================================= @@ -75,7 +73,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/conf.php" --destination="touch $install_dir/htdocs/conf/conf.php" +ynh_add_config --template="../conf/conf.php" --destination="$install_dir/htdocs/conf/conf.php" chmod 644 "$install_dir/htdocs/conf/conf.php" chown $app:$app "$install_dir/htdocs/conf/conf.php"