diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index 4806d50..1974163 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -62,7 +62,8 @@ deploy_file() { # if the target path ends with a slash, we have a directory if [[ "$_trg_path" == */ ]] then - chown ${user}:${user} ${_trg_path}/*.* + chown ${user}:${user} ${_trg_path}/.* + chown ${user}:${user} ${_trg_path}/* else chown ${user}:${user} ${_trg_path} fi