This commit is contained in:
t470p
2024-05-09 20:09:36 -05:00
parent dfd600b4e2
commit 2c774ae7fd

View File

@@ -62,7 +62,8 @@ deploy_file() {
# if the target path ends with a slash, we have a directory # if the target path ends with a slash, we have a directory
if [[ "$_trg_path" == */ ]] if [[ "$_trg_path" == */ ]]
then then
chown ${user}:${user} ${_trg_path}/*.* chown ${user}:${user} ${_trg_path}/.*
chown ${user}:${user} ${_trg_path}/*
else else
chown ${user}:${user} ${_trg_path} chown ${user}:${user} ${_trg_path}
fi fi