/ u
This commit is contained in:
@@ -84,6 +84,8 @@ deploy_file() {
|
|||||||
suffix=".tar.xz"
|
suffix=".tar.xz"
|
||||||
if [[ ${file_name_src} == *$suffix1 ]] ; then
|
if [[ ${file_name_src} == *$suffix1 ]] ; then
|
||||||
# -o: overwrite without prompting
|
# -o: overwrite without prompting
|
||||||
|
echo "_src_path: ${_src_path}"
|
||||||
|
echo "_trg_path: ${_trg_path}"
|
||||||
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 ${_src_path} -C ${_trg_path}
|
tar -xf ${_src_path} -C ${_trg_path}
|
||||||
|
|||||||
Reference in New Issue
Block a user