diff --git a/scripts/install b/scripts/install index c9f1270..1e6c714 100644 --- a/scripts/install +++ b/scripts/install @@ -42,8 +42,8 @@ sudo mv /tmp/PluXml-$version/* $src_path # Set permissions sudo chown -R root: $src_path sudo chown -R www-data: $src_path/{data,plugins} -sudo find $src_path -type f | xargs sudo chmod 644 -sudo find $src_path -type d | xargs sudo chmod 755 +sudo find $src_path -type f -exec chmod 644 {} + +sudo find $src_path -type d -exec chmod 755 {} + # Configure nginx settings folder_path=${path%/}