From 62dfd5b539975739d98f16614b94ad77a71e974f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 17 Jan 2015 21:34:24 +0300 Subject: [PATCH] mc.menu: fix a bug - no need to name the archive --- .mc/menu | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.mc/menu b/.mc/menu index 1161ca1..78d4a8f 100644 --- a/.mc/menu +++ b/.mc/menu @@ -253,23 +253,23 @@ z bzip2 the file/directory + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z gzip the file/directory - exec gzip -9 %f.gz %f + exec gzip -9 %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z lzip the file/directory - exec lzip -9 %f.lz %f + exec lzip -9 %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z lzma the file/directory - exec lzma -9 %f.lzma %f + exec lzma -9 %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z 7z the file/directory - exec 7z -9 %f.7z %f + exec 7z -9 %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z xz the file/directory - exec xz -9 %f.xz %f + exec xz -9 %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z zip the file/directory -- 2.39.5