mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
Option null pour xargs sur upgrade
This commit is contained in:
parent
339a484a66
commit
56a11e635c
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ sudo touch $final_path/doku.php
|
|||
grep -Ev '^($|#)' ../sources/data/deleted.files | xargs -I {} sudo rm -vrf $final_path/{}
|
||||
|
||||
# Files owned by www-data can just read
|
||||
sudo find $final_path -type f -print0 | xargs sudo chmod 0644
|
||||
sudo find $final_path -type d -print0 | xargs sudo chmod 0755
|
||||
sudo find $final_path -type f -print0 | xargs -0 sudo chmod 0644
|
||||
sudo find $final_path -type d -print0 | xargs -0 sudo chmod 0755
|
||||
sudo chown -R www-data: $final_path
|
||||
|
||||
# except for conf, data, some data subfolders, and lib/plugin, where www-data must have write permissions
|
||||
|
|
Loading…
Add table
Reference in a new issue