From 22adfc1fbc3b1f401d440f01be2531a17d55167a Mon Sep 17 00:00:00 2001 From: ewilly Date: Tue, 28 Jun 2016 20:45:47 +0200 Subject: [PATCH] Avoid error when space in filename (here too) --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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%/}