This commit is contained in:
committer
2024-05-15 17:16:11 -05:00
parent ef037b50ee
commit 321d04eac4

View File

@@ -69,7 +69,8 @@ deploy_file() {
suffix=".zip"
if [[ ${file_name_src} == *$suffix ]] ; then
unzip ${_src_path} -d ${_trg_path}
# -o: overwrite without prompting
unzip -o ${_src_path} -d ${_trg_path}
else
# -f (--force): overwrite without confirmation
cp --force --recursive ${_src_path} ${_trg_path}