mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 00:29:53 +07:00
functions: add some output
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
e34e609fcb
commit
5f7a1c266e
@ -389,15 +389,18 @@ function extractDSMFiles() {
|
||||
PAT_PATH="${1}"
|
||||
EXT_PATH="${2}"
|
||||
|
||||
header=$(od -bcN2 ${1} | head -1 | awk '{print $3}')
|
||||
header="$(od -bcN2 "${PAT_PATH}" | head -1 | awk '{print $3}')"
|
||||
case ${header} in
|
||||
105)
|
||||
echo -e "Uncompressed tar"
|
||||
isencrypted="no"
|
||||
;;
|
||||
213)
|
||||
echo -e "Compressed tar"
|
||||
isencrypted="no"
|
||||
;;
|
||||
255)
|
||||
echo -e "Encrypted tar"
|
||||
isencrypted="yes"
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user