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