+ making .sh files executable

This commit is contained in:
tuxwarrior
2024-04-30 21:52:09 -05:00
parent 21afe29777
commit 11f90938f1

View File

@@ -62,6 +62,11 @@ deploy_file() {
file_name=$(basename ${_trg_path}) file_name=$(basename ${_trg_path})
suffix=".sh"
if [[ ${file_name} == *$suffix ]]; then
chmod 755 ${_trg_path}
fi
echo "" echo ""
echo "${file_name}:" echo "${file_name}:"
ls -al ${_trg_path} ls -al ${_trg_path}