u
This commit is contained in:
@@ -69,7 +69,8 @@ deploy_file() {
|
|||||||
|
|
||||||
suffix=".zip"
|
suffix=".zip"
|
||||||
if [[ ${file_name_src} == *$suffix ]] ; then
|
if [[ ${file_name_src} == *$suffix ]] ; then
|
||||||
unzip ${_src_path} -d ${_trg_path}
|
# -o: overwrite without prompting
|
||||||
|
unzip -o ${_src_path} -d ${_trg_path}
|
||||||
else
|
else
|
||||||
# -f (--force): overwrite without confirmation
|
# -f (--force): overwrite without confirmation
|
||||||
cp --force --recursive ${_src_path} ${_trg_path}
|
cp --force --recursive ${_src_path} ${_trg_path}
|
||||||
|
|||||||
Reference in New Issue
Block a user