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:
parent
3606354dfc
commit
5f24c86ee2
1 changed files with 2 additions and 2 deletions
|
@ -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%/}
|
||||
|
|
Loading…
Reference in a new issue