From ad3cdd3c1c1633937a11710770e016d5cbdda665 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 25 Feb 2015 09:05:33 +0300 Subject: [PATCH] .mc/menu: preserve attributes on untarring --- .mc/menu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mc/menu b/.mc/menu index a97f26c..f549ae4 100644 --- a/.mc/menu +++ b/.mc/menu @@ -358,7 +358,7 @@ x Extract the contents of a compressed tar file exit 1 ;; esac - $PRG %f | tar xvf - + $PRG %f | tar xvpf - + F \.tar\.gz$ | F \.tar\.z$ | F \.tgz$ | F \.tpz$ | F \.tar\.lz$ | F \.tar\.lzma$ | F \.tar\.7z$ | F \.tar\.xz$ | F \.tar\.Z$ | F \.tar\.bz2$ & T r X Extract the contents of an other compressed tar file @@ -386,7 +386,7 @@ X Extract the contents of an other compressed tar file exit 1 ;; esac - $PRG %D/%F | tar xvf - + $PRG %D/%F | tar xvpf - + f \.(bz2|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR)$ & t r x Extract a compressed file -- 2.39.5