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"