u
This commit is contained in:
@@ -51,6 +51,7 @@ deploy_file() {
|
|||||||
_trg_path=$2
|
_trg_path=$2
|
||||||
_no_chown=$3
|
_no_chown=$3
|
||||||
|
|
||||||
|
file_name=$(basename ${_trg_path})
|
||||||
echo ""
|
echo ""
|
||||||
echo "${file_name}:"
|
echo "${file_name}:"
|
||||||
|
|
||||||
@@ -61,7 +62,6 @@ deploy_file() {
|
|||||||
chown ${user}:${user} ${_trg_path}
|
chown ${user}:${user} ${_trg_path}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
file_name=$(basename ${_trg_path})
|
|
||||||
suffix=".sh"
|
suffix=".sh"
|
||||||
if [[ ${file_name} == *$suffix ]]; then
|
if [[ ${file_name} == *$suffix ]]; then
|
||||||
chmod 755 ${_trg_path}
|
chmod 755 ${_trg_path}
|
||||||
|
|||||||
Reference in New Issue
Block a user