/ tar fix

This commit is contained in:
committer@tuxwarrior
2024-08-27 14:39:13 -05:00
parent a7a09478aa
commit 5e0531818f

View File

@@ -86,7 +86,7 @@ deploy_file() {
# -o: overwrite without prompting # -o: overwrite without prompting
unzip -o ${_src_path} -d ${_trg_path} unzip -o ${_src_path} -d ${_trg_path}
elif [[ ${file_name_src} == *$suffix2 ]] ; then elif [[ ${file_name_src} == *$suffix2 ]] ; then
tar -xf -o ${_src_path} -C ${_trg_path} tar -xf ${_src_path} -C ${_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}