5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 08:21:41 +00:00

no fallar si no se encuentra nada

This commit is contained in:
f 2018-08-22 16:59:31 -03:00
parent 8445931a0d
commit 78533e4982
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -68,8 +68,8 @@ find -L ./_sites -mindepth 3 -maxdepth 3 -name .generate \
rm -f .generate .generating
# TODO descubrir el grupo según la distro?
chgrp -R http "${_deploy}"
find "${_deploy}" -type f -print0 | xargs -0 chmod 640
find "${_deploy}" -type d -print0 | xargs -0 chmod 2750
find "${_deploy}" -type f -print0 | xargs -r -0 chmod 640
find "${_deploy}" -type d -print0 | xargs -r -0 chmod 2750
# Volver al principio para continuar con el siguiente sitio
popd &>/dev/null