Merge branch '2703_mc_menu'

* 2703_mc_menu:
  Ticket #2703: Simplify mc.menu - remove LZMA|LZ and change p7 to 7z
This commit is contained in:
Slava Zanko 2012-01-13 11:55:14 +03:00
commit 7b1c27d4e7

View File

@ -45,7 +45,7 @@ shell_patterns=0
tar cf - "$Pwd" | bzip2 -f > "$tar.tar.bz2" && \
echo "../$tar.tar.bz2 created."
5 Compress the current subdirectory (tar.p7)
5 Compress the current subdirectory (tar.7z)
Pwd=`basename %d /`
echo -n "Name of the compressed file (without extension) [$Pwd]: "
read tar
@ -54,25 +54,7 @@ shell_patterns=0
tar cf - "$Pwd" | 7za a -si "$tar.tar.7z" && \
echo "../$tar.tar.7z created."
6 Compress the current subdirectory (tar.lzma)
Pwd=`basename %d /`
echo -n "Name of the compressed file (without extension) [$Pwd]: "
read tar
if [ "$tar"x = x ]; then tar="$Pwd"; fi
cd .. && \
tar cf - "$Pwd" | lzma -f > "$tar.tar.lzma" && \
echo "../$tar.tar.lzma created."
7 Compress the current subdirectory (tar.lz)
Pwd=`basename %d /`
echo -n "Name of the compressed file (without extension) [$Pwd]: "
read tar
if [ "$tar"x = x ]; then tar="$Pwd"; fi
cd .. && \
tar cf - "$Pwd" | lzip -f > "$tar.tar.lz" && \
echo "../$tar.tar.lz created."
8 Compress the current subdirectory (tar.xz)
6 Compress the current subdirectory (tar.xz)
Pwd=`basename %d /`
echo -n "Name of the compressed file (without extension) [$Pwd]: "
read tar