From 534d391d7a2b4029011385ccbc0c86e4f3eaa465 Mon Sep 17 00:00:00 2001 From: t470p Date: Sat, 11 May 2024 22:23:14 -0500 Subject: [PATCH] / improved 755 mode --- scripts/99_deploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index 7b62abc..e0aa688 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -82,8 +82,11 @@ deploy_file() { fi suffix=".sh" - if [[ ${file_name} == *$suffix ]]; then + if [[ ${file_name} == *$suffix ]] ; then chmod 755 ${_trg_path} + chmod 755 ${_trg_path}/*.sh + elif [[ ${file_name} == "bin" ]] ; then + chmod 755 ${_trg_path}/*.sh fi ls -al ${_trg_path}