From e208e8505359168ddc2d878a4668b40541331ad1 Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Sat, 4 May 2024 17:16:23 -0500 Subject: [PATCH] u --- scripts/99_deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index da77a11..e2a1259 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -51,6 +51,7 @@ deploy_file() { _trg_path=$2 _no_chown=$3 + file_name=$(basename ${_trg_path}) echo "" echo "${file_name}:" @@ -61,7 +62,6 @@ deploy_file() { chown ${user}:${user} ${_trg_path} fi - file_name=$(basename ${_trg_path}) suffix=".sh" if [[ ${file_name} == *$suffix ]]; then chmod 755 ${_trg_path}