From e9043a6579226aef550d7ec80a6bbd415d397f53 Mon Sep 17 00:00:00 2001 From: desktop Date: Thu, 2 Nov 2023 23:51:54 +0300 Subject: [PATCH] bash : fix archive unpack new format. --- .linux/bash/module/archive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.linux/bash/module/archive.sh b/.linux/bash/module/archive.sh index 1faaa05..993b3aa 100644 --- a/.linux/bash/module/archive.sh +++ b/.linux/bash/module/archive.sh @@ -159,10 +159,10 @@ unarchive() # figure out the compression tool. local compressor case "${target##*.}" in - "xz") + "txz") compressor="xz -d" ;; - "gz") + "tgz") compressor="gzip -d" ;; esac