From ee6ffd239e6fd5fe70e4131b5087237c2c02930a Mon Sep 17 00:00:00 2001 From: committer Date: Wed, 15 May 2024 07:33:25 -0500 Subject: [PATCH] u --- scripts/99_deploy.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index 877ff80..c36132d 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -77,14 +77,12 @@ deploy_file() { echo "(ignore potential \"chown: cannot access\" error, which will occur if there are no dot-files in the directory)" if [[ ${_recursive} != "recursive" ]] ; then - echo "one" - #chown ${user}:${user} ${_trg_path}* # https://serverfault.com/questions/156437/how-to-chown-a-directory-recursively-including-hidden-files-or-directories - #chown ${user}:${user} ${_trg_path}.[^.]* + chown ${user}:${user} ${_trg_path}* + chown ${user}:${user} ${_trg_path}.[^.]* else - echo "recursive" -# chown -R ${user}:${user} ${_trg_path}* -# chown -R ${user}:${user} ${_trg_path}.[^.]* + chown -R ${user}:${user} ${_trg_path}* + chown -R ${user}:${user} ${_trg_path}.[^.]* fi else chown ${user}:${user} ${_trg_path}