From cf360121945b327711160f95f8616d8f26d5ec4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 25 Mar 2024 23:12:32 +0100 Subject: [PATCH] restore more --- scripts/install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index fb777e5..93abc81 100644 --- a/scripts/install +++ b/scripts/install @@ -29,7 +29,9 @@ ynh_script_progression --message="Setting up source files..." --weight=1 ynh_setup_source --source_id="main" --dest_dir="$install_dir" # Create necessary files -touch $install_dir/htdocs/conf/conf.php +touch "$install_dir/htdocs/conf/conf.php" + +chown -R "$app:www-data" "$install_dir" #================================================= # PREPARE AND INSTALL APP @@ -57,7 +59,7 @@ ynh_use_logrotate --logfile="$install_dir/documents/dolibarr.log" #================================================= # Set right permissions for curl install -chown -R "$app:" "$install_dir" +# chown -R "$app:" "$install_dir" # Installation with curl