Commit dc80079b730c86af2b132326590001cc095c32c5
1 parent
b6d6452fc5
Exists in
master
Update remove
Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff
scripts/remove
... | ... | @@ -10,6 +10,13 @@ sudo rm -rf /var/www/owncloud |
10 | 10 | sudo rm -rf /home/yunohost.app/owncloud |
11 | 11 | sudo rm -f /etc/nginx/conf.d/$domain.d/owncloud.conf |
12 | 12 | sudo rm -f /etc/php5/fpm/pool.d/owncloud.conf |
13 | +for i in $(ls /home) | |
14 | +do | |
15 | + if [[ ! $i == yunohost.* ]]; | |
16 | + then | |
17 | + sudo setfacl -x g:owncloud:rwx > /dev/null 2>&1 | |
18 | + fi | |
19 | +done | |
13 | 20 | sudo service php5-fpm restart |
14 | 21 | sudo userdel owncloud > /dev/null 2>&1 |
15 | 22 | sudo service nginx reload |