From 22722b968f2866f4f9104efa6febb632f0659063 Mon Sep 17 00:00:00 2001 From: liberodark Date: Mon, 13 Jan 2020 10:39:38 +0100 Subject: [PATCH] Update install --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index c0c316f..a9ae518 100644 --- a/scripts/install +++ b/scripts/install @@ -153,6 +153,11 @@ ynh_replace_string "yunobase" "$db_name" "$final_path/config.php" ### Then, if write authorization is needed, any access should be given only to directories ### that really need such authorization. +# Remove non utile files +rm -rf "$final_path/install" +rm -rf "$final_path/.htaccess" +rm -rf "$final_path/.git*" + # Set permissions to app files chown -R www-data: "$final_path"