From eeea2f5c99b072101d463c4e38df0301f161fcae Mon Sep 17 00:00:00 2001 From: liberodark Date: Mon, 13 Jan 2020 11:53:15 +0100 Subject: [PATCH] Update install --- scripts/install | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 545e8fc..d47723f 100644 --- a/scripts/install +++ b/scripts/install @@ -154,11 +154,14 @@ ynh_replace_string "yunobase" "$db_name" "$final_path/config.php" ### that really need such authorization. # Remove non utile files -rm -rf "$final_path/install" -rm -f "$final_path/INSTALL.txt" -rm -f "$final_path/README.md" -rm -f "$final_path/.htaccess" -rm -rf "$final_path/.git*" +pushd "$final_path" +rm -rf install +rm -f INSTALL.txt +rm -f README.md +rm -f .htaccess" +rm -rf .git* +popd + # Set permissions to app files chown -R www-data: "$final_path"