From ef69fb503cd5b4f7b298eb0a8d6c88ea12f0bdee Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 22 May 2019 09:59:07 +0200 Subject: [PATCH] Remove useless sudo The script is run as root --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 6ae476f..ae08cce 100644 --- a/scripts/install +++ b/scripts/install @@ -131,8 +131,8 @@ ynh_add_fpm_config # set proper permissions ynh_print_info "Set permissions..." -sudo find $final_path -type f | xargs sudo chmod 644 -sudo find $final_path -type d | xargs sudo chmod 755 +find $final_path -type f | xargs sudo chmod 644 +find $final_path -type d | xargs sudo chmod 755 # Set right permissions for curl install ynh_print_info "Set rights..."