u
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user