mirror of
https://github.com/YunoHost-Apps/pluxml_ynh.git
synced 2024-09-03 20:16:02 +02:00
Merge branch 'master' of github.com:/YunoHost-Apps/pluxml_ynh
This commit is contained in:
commit
e4c8a1944a
2 changed files with 4 additions and 4 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%/}
|
||||
|
|
|
@ -29,8 +29,8 @@ sudo cp -r /tmp/PluXml-$version/{config.php,core,feed.php,index.php,sitemap.php,
|
|||
|
||||
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