This commit is contained in:
committer@tuxwarrior
2024-08-27 15:40:35 -05:00
parent dd29e752a9
commit 29cce2959f

View File

@@ -84,6 +84,8 @@ deploy_file() {
suffix=".tar.xz"
if [[ ${file_name_src} == *$suffix1 ]] ; then
# -o: overwrite without prompting
echo "_src_path: ${_src_path}"
echo "_trg_path: ${_trg_path}"
unzip -o ${_src_path} -d ${_trg_path}
elif [[ ${file_name_src} == *$suffix2 ]] ; then
tar -xf ${_src_path} -C ${_trg_path}