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

Avoid error when space in filename (here too) (#23)

This commit is contained in:
ewilly 2016-06-29 00:11:20 +02:00 committed by M5oul
parent 3606354dfc
commit 5f24c86ee2

View file

@ -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%/}