1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00

Remove useless sudo

The script is run as root
This commit is contained in:
lapineige 2019-05-22 09:59:07 +02:00 committed by GitHub
parent 65165908b6
commit ef69fb503c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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..."