From a2b12327d46793092d9c76e815a3f32527bcc5c7 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Thu, 26 Jun 2025 08:38:29 +0300 Subject: [PATCH] unpack: added *.rar --- winehelper | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winehelper b/winehelper index a63ea66..6e4dc0a 100755 --- a/winehelper +++ b/winehelper @@ -240,11 +240,11 @@ unpack () { print_info "Запуск распаковки архива $1" local command outarg case $1 in - *.tar.xz) command="tar -Jxhf" ; outarg="-C " ;; - *.tar.gz) command="tar -xhzf" ; outarg="-C " ;; + *.tar.xz) command="tar -Jxhf" ; outarg="-C " ;; + *.tar.gz) command="tar -xhzf" ; outarg="-C " ;; *.tar.zst) command="tar -I zstd -xhf" ; outarg="-C " ;; - *.tar) command="tar -xhf" ; outarg="-C " ;; - *.zip|*.exe) command="7z x -y" ; outarg="-o" ;; + *.tar) command="tar -xhf" ; outarg="-C " ;; + *.zip|*.exe|*.rar) command="7z x -y" ; outarg="-o" ;; esac create_new_dir "$2" if $command "$1" ${outarg}"$2" ; then